Here is the C "Hello, World!" program
					#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;

C Hello World Program
  • In this program, the #include <stdio.h> line is a preprocessor directive that tells the compiler to include the standard input/output library, which provides the printf() function.
  • The main() function is the entry point of the program, where the execution starts. Inside the main() function, we use the printf() function to print the string “Hello, World!” to the console. The \n represents a newline character, which adds a line break after the message.
  • Finally, the return 0; statement indicates that the program has finished running and it is returning a value of 0 to the operating system, indicating successful execution.