C
tried to compile a simple hello world program:
when I compile the above code I get the following error:Code:#include<stdio.h>
int main()
{
printf("Hello World\n"0;
exit(0);
}
Please tell me where am I going wrong?Code:$ gcc hello.c
hello.c: In function ‘main’:
hello.c:6: warning: incompatible implicit declaration of built-in function ‘exit’