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