Borderou de evaluare (job #86985)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Apariții 2 (clasa a 7-a) | Compilator | c |
Rundă | Tema 8 clasa 7 | Status | evaluat |
Dată | 11 nov. 2014 20:03:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:12:1: error: initializer element is not constant
user.c: In function ‘main’:
user.c:20:2: warning: passing argument 1 of ‘fclose’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/include/stdio.h:238:12: note: expected ‘struct FILE *’ but argument is of type ‘const struct FILE *’
user.c: In function ‘citireA’:
user.c:32:2: warning: passing argument 1 of ‘fgetc’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘const struct FILE *’
user.c: In function ‘citireB’:
user.c:41:2: warning: passing argument 1 of ‘fgetc’ discards ‘const’ qualifier from pointer target type [enabled by default]
/usr/include/stdio.h:537:12: note: expected ‘struct FILE *’ but argument is of type ‘const struct FILE *’