Skip to content

Commit 4adf487

Browse files
committed
Add compiler-warning example
1 parent 9ceb19b commit 4adf487

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

compiler-warning.c

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#include <stdio.h>
2+
#include <stdlib.h>
3+
4+
int main() {
5+
char buf[20];
6+
gets(buf);
7+
puts(buf);
8+
return 0;
9+
}
10+

0 commit comments

Comments
 (0)