startMiner - free and simple next generation Bitcoin mining software

What is Variables and Rules of Declaring Variables in C++.

What is Variable?

What is Variable in C++
Variable is a named memory location.It is used to store program's input data and its results during execution.
Value of a Variable may be changed during the program execution but name can not be changed.
The Variables are created in RAM(Random Access Memory).RAM is a temporary memory.
The data stored in RAM is also temporary.

Rules for Declaring Variables in C++.

Some important rules of variables are:
  1. A variable consists of a number,latter or underscore( _ ).
  2. First character must be latter or underscore.
  3. Spaces are not allowed between variable name.
  4. Uppercase and Lowercase both are allowed.
  5. Keywords C++ are not allowed as variable name.
  6. A variable consists of 31 character.
  7. One variable can be declared for one data type.
Symbols can not be used as variable name.


Tags:
#c language compiler  #best cs programs   #c development
#how to code in c   #computer programmer   #software developer
#php programmer     #it programs
#computer programming certification
#c++ programs examples   #c++ programs download  #c++ programs pdf
#c++ programs with output   #c++ programs for beginners
#c++ programs download for windows 7   #c++ programs list
#operators in c programming   #what is structured programming
#c language data types    #computer programming keywords
#variable types in c      #variables in computer programming
#types of variables in computer programming    #c language data types
What is Variables and Rules of Declaring Variables in C++. What is Variables and Rules of Declaring Variables in C++. Reviewed by Alpha on 3/04/2017 06:13:00 pm Rating: 5

No comments:

Theme images by mariusFM77. Powered by Blogger.