C++ Reserved Keyword
Reserved keywords are well defined.We use them in one or more classes more than one time to get desire output from whole project.
C++ Keywords are reserved words which can only be use to perform special task.
Compiler already know the meaning of each keyword. Each keyword has a special meaning and it can't be changed by the programmer.
Example:
if , for , while , int , class keywords perform different task in different ways each keyword uses it's own syntax to perform logical operations depends on our requirement.
Reserve Keywords :
C++ Keywords are reserved words which can only be use to perform special task.
Compiler already know the meaning of each keyword. Each keyword has a special meaning and it can't be changed by the programmer.
Example:
if , for , while , int , class keywords perform different task in different ways each keyword uses it's own syntax to perform logical operations depends on our requirement.
Reserve Keywords :
- #include <iostream>
- using namespace std;
- int main(){
- int rollnumber = 10;
- string name = "ITech Taleem";
- cout << name << endl;
- cout << rollnumber << endl;
- return 0;
- }
Comments
Post a Comment