Rules for naming identifiers in C++

Specify the rules for naming identifiers in the C++.

E

Expert

Verified

Identifiers can be declared using following points:

a) Only alphabetic characters, digits and underscore are allowed.

b) Its name may not start with the digit.

c) Upper and the lower case letters are distinct.

d) Declared keyword may not be used as the variable name.

   Related Questions in C/C++ Programming

©TutorsGlobe All rights reserved 2022-2023.