Language
C
Compiler
gcc 10.1.0
Options
Warnings
C99
-pedantic
$ gcc prog.c -Wall -Wextra -std=c99 -pedantic how many print?1 hi
2 Hello world
3 hi
4 Hello world
5 hi
6 Hello world
7 hi
8 Hello world
9 hi
10 Hello world
Exit Code:
0
Author
anonymous
over 4 years ago
C
gcc 10.1.0
Author
anonymous
over 4 years ago
$ gcc prog.c -Wall -Wextra -std=c99 -pedantic prog.c: In function 'message':
prog.c:15:17: warning: unused parameter 'c' [-Wunused-parameter]
15 | int message(int c)
| ~~~~^
how many print?1 hi
2 Hello world
3 hi
4 Hello world
5 hi
6 Hello world
7 hi
8 Hello world
9 hi
10 Hello world