Wednesday 21 September 2016

BASIC EXPLANATION STRUCTURE IN C PROGRAMMING LANGUAGE with SINGLE Line comment and Double line comment

CODINGCLASSES|LEARNTOPROGRAM



                                          "C" PROGRAMMING LANGUAGE


//(SINGLE LINE COMMNET ):-IT IS USED FOR SINGLE LINE

AND /*   */ (DOUBLE LINE OR MULTIPLE LINE COMMENT)

Both of the comments is  used for adding the extra information about programm for understanding the  end user and  For easy to understand.
 Friends you free to use this commnets in any where in the programming it is will NEVER Effect your code with Error.  

E.G:-


#include<stdio.h>.//#(pre-processor directive)    stdio(input(printf) and output(Scanf)) .h(Extentation of its library) 
#include<conio.h>//conio(clrscr) and (getch)) /*header file
                                                                                   or prototype*/

void main()    //void (data type) void means 0 main(method) 

{//open curli braces

printf("HELLO WORLD"); //():-Paranthese ""-(double quote) ;(Semi-colon)

}//close curli braceses


RUN YOUR PROGRAMMING 

OUTPUT(o/p):-HELLO WORLD



IN THIS POST I INTREASTED IN EXPLAIN YOU THE BASIC STRUCTURE NAME IN C PROGRAMMING LANGUAGE 

WITH SINGLE LINE COMMENT AND DOUBLE LINE COMMENT 

WITH EXAMPLE OF HELLO WORLD IF YOU HAVE ANY DOUBT PLZ COMMENT BELOW OR SEND ME MAIL





No comments:

Post a Comment