Created
April 10, 2017 02:40
-
-
Save hu2di/0df1a29f9d47a76945fb89ed13895adc to your computer and use it in GitHub Desktop.
printf - function isn't safe
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 input[200]; | |
while(1) | |
{ | |
printf("\n\n"); | |
gets(input); | |
printf(input); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment