The code sample contains multiple errors including unexpected tokens like '=' and '@' in incorrect locations, duplicate variable labels, missing semicolons, incorrect function calls, and missing parentheses. The compiler is flagging issues with variable declarations, conditional expressions, operator precedence, and function prototypes among other things.
The code sample contains multiple errors including unexpected tokens like '=' and '@' in incorrect locations, duplicate variable labels, missing semicolons, incorrect function calls, and missing parentheses. The compiler is flagging issues with variable declarations, conditional expressions, operator precedence, and function prototypes among other things.
The code sample contains multiple errors including unexpected tokens like '=' and '@' in incorrect locations, duplicate variable labels, missing semicolons, incorrect function calls, and missing parentheses. The compiler is flagging issues with variable declarations, conditional expressions, operator precedence, and function prototypes among other things.
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 integ er 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 argum ent 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 [-W format-security] scanf(a); ^~~~~ main.c:30:6: warning: implicit declaration of function ‘prntf’ [-Wimplicit-fu nction-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 } ^