Hello Program
#include<iostream.h> // #include is preprocessor directive, while iostream.h and conio.h are header files
#inlude<conio.h>
int main() // main() shows the body of program.
{
cout<<" Hello, Welcome to C++ "; //cout is used for outputs.
getch(); //getch() is used to freeze the output screen.
return 0;
}
OUTPUT
No comments :
Post a Comment