Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char deleting(Contacts* p)
- {
- int *p =contacts[100];
- int i;
- printf("enter first and last name of the contact :");
- scanf("%s %s",&Contacs.firstname,Contacts.lastname);
- for(i=*p-1;i<Count-1;i++)
- {
- Contacts [i]=Contacts[i+1] ;
- }
- for(i=0;i<Count;i++)
- printf("%s %s %s %s %s %s %s %s",Contacts.lastName,Contacs.firstName,Contacts.stName,Contacts.email,Contacts.phoneNum,Contacts.dateOfBirth.day,Contacts.dateOfBirth.month,Contacts.dateOfBirth.year);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement