C Program to Demonstrate the Use of Comment Lines

 


C Program to Demonstrate the Use of Comment Lines




// C program to demonstrate the use of comment lines

// C program to demonstrate the use of comment lines

/* This symbol is used for multiline comments,
slash star and star slash */


#include<stdio.h> //standard input output header file
#include<conio.h> //console input output header file
void main() // main function of c program
{ // main program starts
printf("Demonstration of comment lines\n") // \n new line character
printf(" Hello world\n"); //output function
printf(" End of program"); // every c program instruction is terminated with semi coma
} // main program terminated


Demonstration of comment lines

Hello world

End of program



टिप्पणी पोस्ट करा

0 टिप्पण्या