c hello world program code example
Example 1: c hello world
int main() {
printf("Hello, world!");
return 0;
}
Example 2: hello world c
int main()
{
printf("Hello world!\n");
return 0;
}
Example 3: c hello world
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}
Example 4: c hello world
int main(0)
{
printf("Hello World!\n");
return 0;
}
Example 5: C hello world
int main()
{
printf("Hello World!");
return 0;
}
Example 6: c hello world
int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}