C++ Variables

How to Declare a C++ Variables :-

Variable name should be unique, and we can easily distinguish one variable  from the other variable easily.

We have  many rules for variable declaration.

  • It can consist of any sequence of letters, digits and underscores(_).
  • Special characters are not allowed.
  • The first character should be a letter or underscore and followed by letters, digits.
  • Upper and lower case letters are distinguishable. A and a are different
  • Reserved keywords can not be used as variables.

C++ Variable and their Operator



Follow Us

Contact Us


Back to Top