Advertisement
Guest User

TP6b.c

a guest
Mar 30th, 2020
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #define SIZE 100
  5.  
  6. typedef struct
  7. {
  8.     char name[100];
  9.     int age;
  10.     char adresse[200];
  11.     char phone_number[20];
  12.     char email[200];
  13. } contact;
  14.  
  15. typedef struct
  16. {
  17.     contact list[SIZE];
  18.     int index;
  19.     int length;
  20. } Carnet;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement