Language:
c
Source:
int a; a=10; for(i=0;i<10;i++) printf "koru";
Errors:
source_file.c:1:8: warning: data definition has no type or storage class
int a; a=10; for(i=0;i<10;i++) printf "koru";
^
source_file.c:1:8: warning: type defaults to ‘int’ in declaration of ‘a’ [-Wimplicit-int]
source_file.c:1:14: error: expected identifier or ‘(’ before ‘for’
int a; a=10; for(i=0;i<10;i++) printf "koru";
^
source_file.c:1:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
int a; a=10; for(i=0;i<10;i++) printf "koru";
^
source_file.c:1:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘++’ token
int a; a=10; for(i=0;i<10;i++) printf "koru";
^