Q) Write a C program to print Hello World in the output ?

  •   #include<stdio.h>
  •   int main(Void)
  • {
  •   printf(“Hello World “);
  •   return 0;
  • }

My Link


              Hello World

      THEORY :

  1.   #include<stdio.h> is a statement which tells the compiler to insert the contents of stdio at that particular place.  In C/C++ we use some functions like printf(), scanf(), cout,cin.
  2.   int main() return an int where as void main() does not return anything .
  3.   printf(” “) is used to show the content in between brackets .


If any one intrested to post something stuff that you done , we can freely post by just registering  your account  http://www.learningbuz.com/create-post/  and you can expose your stuff to the world ……..

1 Comment

addition of two numbers in c – LearningBuz · 8th November 2017 at 7:38 pm

[…] C program to print Hello World […]

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: