Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- typedef struct stringname_s *Stringname;
- typedef struct stringpassword_s *Stringpassword;
- typedef struct stringaddress_s *Stringaddress;
- typedef struct userInfo
- {
- int id;
- int contNumber;
- Stringname Name;
- Stringpassword Password;
- Stringaddress Address;
- }user;
- int main(void)
- {
- user newUser;
- newUser.id=42;
- printf("newUser id is %d.\n",newUser.id);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement