Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main()
- {
- char fName[5];
- char lName[5];
- char trash[5];
- fgets(fName, 5, stdin);
- gets(trash);
- fgets(lName, 5, stdin);
- printf("Hello %s %s", fName, lName);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement