Saturday, May 18, 2019

Hello World C Program

  Program:-

  #include <stdio.h>
    
    int main()
    {
      printf("Hello world\n");
return 0;
    }

Output: -

Hello World
-----------------------------------------------------
"stdio.h" header file contains the declaration of printf function.
 printf:- Library Function used to display text on the screen
"\n" :- used to placed the cursor at the beginning next line

0 Comments:

Post a Comment