Variable:
Variable is a quantity which means that its value is not fixed. You can understand by the name “vary” mean changing itself. In C++ variable are used to store the input and output data and also used to store the computational result.
Rules to write variable name:
- A variable name may have character, number or (_) underscore.
- A variable name should be start will character or (_) underscore.
- Keywords cannot be used as variable name.
- Special characters like $, #, !, @ cannot be used in variable name.
No comments:
Post a Comment