c hello world main code example
Example 1: c hello world
#include <stdio.h>
int main() {
printf("Hello, world!");
return 0;
}
Example 2: c hello world
#include <stdio.h>
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
Example 3: hello world c
int main() {
printf("Hello World !");
}