C PROGRAM TO PRINT "HELLO, WORLD!"

C Program to Print "Hello, World!"

C Program to Print "Hello, World!"

Blog Article

https://docs.vultr.com/clang/examples/hello-world-program
C Program to Print "Hello, World!"
The following C program prints "Hello, World!" to the console.
#include <stdio.h> → Includes the standard input-output library for using printf().
int main() → The main function where execution starts.
printf("Hello, World!n"); → Prints "Hello, World!" to the console.
return 0; → Indicates the program executed successfully.

Report this page