#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
#include <stdio.h>
: Includes the standard input-output library for handling input and output operations.
int main() {
: Declares the main function that serves as the entry point for the program. The function returns an integer value.
printf("Hello, World!\n");
: Prints the string "Hello, World!" followed by a newline character to the standard output (usually the console).
return 0;
: Indicates the successful execution of the program by returning 0 to the operating system.
}
: Closes the main function block.