harshitsingh0707 ERROR
1) removed ; in printf
hello.c:6:2: error: expected ‘;’ before ‘return’
return(0);
2)removed ) before ;
hello.c:5:22: error: expected ‘)’ before ‘;’ token
printf("hello world";
^
hello.c:7:1: error: expected ‘;’ before ‘}’ token
3)remove (“ “) in printf
hello.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
hello.c:5:15: error: expected ‘)’ before ‘world’
printf(hello world);
4)
removing ; in from return0
hello.c:8:1: error: expected ‘;’ before ‘}’ token
}
5) removing int from main
hello.c:3:2: warning: return type defaults to ‘int’ [-Wimplicit-int]
main()
6)removing hash from library
hello.c:1:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
include<stdio.h>
7)removing header file
hello.c:4:2: warning: incompatible implicit declaration of built-in function ‘print
June 5