Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // main.c
- #include <stdio.h>
- #include <stdlib.h>
- #include "BuckysInfo.h"
- int main()
- {
- //really good with storing many users and displaying all data at once
- struct user person1;
- struct user person2;
- person1.userID = 290;
- person2.userID = 291;
- puts("Enter the name of user 1");
- gets(person1.firstName);
- puts("Enter the name of user 2");
- gets(person2.firstName);
- printf("User 1 id is %d\n", person1.userID);
- printf("User 2 name is %s\n", person2.firstName);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement