PROGRAM IN C

It is a set of instructions.

1. #incude<stdio.h>

2.  

3.     void main()

4.     {

5.       printf(“hello word”);

6.     }

Output: hello word

1.Include:means to  use/join/include(shamil karna)

2.(<>):These are tags which is used to define the stdio.h

3.stdio.h:It is a library file which include definition of certain methods such as “printf”,Full form of stdio.h is standard input output.

4.void:means nothing it is a return type. Which define the value return by method.

5.main():this is a method/function which is called by compiler as default.

6.{}:curly brackets in this ex curly brackets is defining the body of main method.

7.printf:it is a method which is used to print the values pass inside this method. It is define inside the stdio.h library,It means all logic of this method is define in stdio.h library.                                                                                                           

8.Line no 2(space):we have given space here for our understanding of code. C compiler does not recognize this space.           

9.(;):(semi colon) the main purpose of semi colon is let compiler known that the code of line ends here.