Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. char deleting(Contacts* p)
  2. {
  3. int *p =contacts[100];
  4. int i;
  5. printf("enter first and last name of the contact :");
  6. scanf("%s %s",&Contacs.firstname,Contacts.lastname);
  7.  
  8. for(i=*p-1;i<Count-1;i++)
  9. {
  10. Contacts [i]=Contacts[i+1] ;
  11.  
  12. }
  13. for(i=0;i<Count;i++)
  14. 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);
  15. }
  16.  
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement