prog.c:11:1: error: expected ‘;’, identifier or ‘(’ before ‘int’
int main() {
^~~
prog.c: In function ‘main’:
prog.c:20:11: warning: format ‘%u’ expects argument of type ‘unsigned int *’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%uc",elevetab[i].age);
~^ ~~~~~~~~~~~~~~~
prog.c:16:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",elevetab[i].nom);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.c:18:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",elevetab[i].prenom);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
prog.c:20:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%uc",elevetab[i].age);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~