Advertisement
Guest User

Untitled

a guest
Apr 24th, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. char test[100];
  2. scanf("%s", test);
  3.  
  4. int test2[100];
  5. scanf("%d", test2);
  6.  
  7. char test[100];
  8. scanf("%99s", test);
  9. // ^^
  10. // Minus one for the null terminator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement