Syntax of c++ program
syntax of c++
#include<iostream.h>
#include<conio.h>
Void main()
{
clrscr();
cout<<"hello word ";
getch();
}
#.
1.Iti called preprocessor.
2.It is include the library of c++ into the program before the exicution.
Void.
Main. #include<conio.h>
Void main()
{
clrscr();
cout<<"hello word ";
getch();
}
#.
1.Iti called preprocessor.
2.It is include the library of c++ into the program before the exicution.
Include.
To Include the header file into the program.
Iostream.
Conio. To Include the header file into the program.
Iostream.
- Its stands for input output stream.
- It is a collection of predefined function.
- It is also called library of c++.
- It is stands of console input output.
- It is used to show the output on console window.
- It is a keyword.
- It indicate that no one value is begining returned by the function.
- If we use any other keywords like int,char,float, double ,etc in place of void then we will use return keyword.
- It is the function which is called the entry point of any program.
- The exicution of any program start from the main function.
- If in a program there is only one function than it shoulb be main function.
- It is stands for clear screen.
- It is a predefine function which is use to clear screen.
- Itact like a duster on output screen.
cout.
- It is a keyword which is use to print data or information on to the output screen.
- It is always use with insertion opretor.
Niceo
ReplyDelete