You are on page 1of 2

progAvaliarErros – Yasmin Kruger

main.c: In function ‘funcao’:


main.c:16:8: error: expected expression before ‘=’ token
a:=76575664534535435657676565456554353436565765546543;
^
main.c:16:9: warning: integer constant is too large for its type
a:=76575664534535435657676565456554353436565765546543;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:14: error: stray ‘@’ in program
if (a<1)@
^
main.c:18:7: error: duplicate label ‘a’
a:=12
^
main.c:16:6: note: previous definition of ‘a’ was here
a:=76575664534535435657676565456554353436565765546543;
^
main.c:18:9: error: expected expression before ‘=’ token
a:=12
^
main.c:24:11: error: stray ‘#’ in program
c=11;#
^
main.c:28:6: error: expected ‘;’ before ‘f’
f=1;
^
main.c:29:12: warning: passing argument 1 of ‘scanf’ makes pointer from
integer without a cast [-Wint-conversion]
scanf(a);
^
In file included from /usr/include/features.h:374:0,
from /usr/include/stdio.h:27,
from main.c:1:
/usr/include/stdio.h:446:12: note: expected ‘const char * restrict’ but
argument is of type ‘int’
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
^
main.c:29:6: warning: format not a string literal and no format arguments [-
Wformat-security]
scanf(a);
^~~~~
main.c:30:6: warning: implicit declaration of function ‘prntf’ [-Wimplicit-
function-declaration]
prntf("%d",b);
^~~~~
main.c:35:11: error: expected ‘;’ before ‘div’
c=a div b
^~~
main.c:38:6: error: expected ‘)’ before ‘{’ token
{
^
main.c:43:5: error: expected expression before ‘}’ token
}
^

You might also like