Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. char fName[5];
  6. char lName[5];
  7. char trash[5];
  8.  
  9.  
  10. //
  11. fgets(fName, 5, stdin);
  12. gets(trash);
  13.  
  14. fgets(lName, 5, stdin);
  15.  
  16.  
  17. printf("%s ", fName);
  18. printf("%s", lName);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement