-Pages-

Simple c++ program , prints string

 :-
Simple example of a c++ program that prints a string.use of cin & cout function. 



                 The above program produces following output...




#include<iostream.h>  and #include<conio.h> = It is the header file (pre define function which already                                                                        store in library )
void main()                                                 =  main function body,in which main program is written

"cout" and "cin"                                           =  Output and Input keyword

clrscr()                                                       =  This function is use to clear the previous program 

No comments:

Post a Comment