How do I write Hello World program?

Hello World Program in C

  1. #include <stdio. …
  2. int main() – Here main() is the function name and int is the return type of this function. …
  3. printf(“Hello World”); – This function displays the content within double quotes as it is on the screen.
  4. return 0; – As mentioned above, the value 0 means successful execution of main() function.

For More Information Please Refer:


You May Also Like to Read: