Created
December 6, 2017 11:51
-
-
Save berviantoleo/2e99cae73df476c78fabaf0bf2e4c1cf to your computer and use it in GitHub Desktop.
Standart Input Scanf in C without limit the length of input.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
char str1[5]; | |
scanf("%s", str1); | |
printf("%s", str1); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment