Coding on VS code [closed]
Hello this is my first time to learn C by a book But The code doesn't give output I installed build essential What should I do ?
int main()
{
printf("Hello World!");
}
There is an error in your code that you are trying to compile, that is at line 3
:
intmain
which needs to be replaced by int main
Also Add return 0;
at the list line inside main function to prevent your application return some unwanted output
Full Code:
#include <stdio.h>
int main(void) {
printf("Hello, World!");
return 0;
}