Main.c: In function ‘Entry’:
Main.c:227:5: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
227 | gets(ch1);
| ^~~~
| fgets
Main.c: In function ‘inputM’:
Main.c:298:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
298 | printf("%4d%10s%8d
",men[n].Mid,men[n].Mname,men[n].Score);
| ~~^ ~~~~~~~~~~
| | |
| int long int
| %4ld
Main.c:298:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
298 | printf("%4d%10s%8d
",men[n].Mid,men[n].Mname,men[n].Score);
| ~~^ ~~~~~~~~~~~~
| | |
| int long int
| %8ld
Main.c: In function ‘changeM’:
Main.c:320:15: warning: format ‘%lld’ expects argument of type ‘long long int *’, but argument 2 has type ‘long int *’ [-Wformat=]
320 | scanf("%lld",&men[x-1].Score);
| ~~~^ ~~~~~~~~~~~~~~~
| | |
| | long int *
| long long int *
| %ld
Main.c: In function ‘outputB’:
Main.c:378:5: error: expected declaration or statement at end of input
378 | return 0;
| ^~~~~~