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