diff options
-rw-r--r-- | scanf.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(void) +{ + char *input; + scanf("%ms", &input); + + printf("%s", input); + free(input); + + return EXIT_SUCCESS; +} |