/in/foo.cc: In function 'int main()':
/in/foo.cc:27:47: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[20]' [-Wformat=]
scanf("%s%s%s",&st[i].name,&sc,&st[i].answer);
^
/in/foo.cc:27:47: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[3]' [-Wformat=]
/in/foo.cc:27:47: warning: format '%s' expects argument of type 'char*', but argument 4 has type 'char (*)[25]' [-Wformat=]
/in/foo.cc: In function 'int cj(student, student)':
/in/foo.cc:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^