SabirSazzad

Stop input of char (shortcut)

Feb 20th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.13 KB | None | 0 0
  1. #include <stdio.h>
  2. int main ()
  3. {
  4.     char name[100];
  5.     scanf("%[^\n]s",&name);
  6.     printf("%s",name);
  7.  
  8.     return 0;
  9.  
  10. }
Add Comment
Please, Sign In to add comment