How to print hello world using C Language


In this example, you will learn to print "Hello, World!" on the screen in C programming.

#include <stdio.h>
int main() {
   // printf() displays the string inside quotation
   printf("Hello, World!");
   return 0;
}
Output :

Hello, World!
       

Advertisements

ads