Describe Identifiers.

      

Describe Identifiers.

  

Answers


Kavungya
An identifier is a creation of a programmer which may refer to names of variables, arrays, classes, functions etc. the following are the rules that govern the naming of identifiers in C++ language:
i. Uppercase and lowercase letters are distinct
ii. It is only the alphabetic characters, digits and underscores that are allowed
iii. The name of the identifier cannot start with a digit
iv. A declared keyword cannot be used as a variable name
v. There is no limit on the length of the identifier’s name
Kavungya answered the question on May 15, 2019 at 14:41


Next: Differentiate between signed and unsigned integers.
Previous: Write a C++ program that can compute and the sum and average of 15 numbers.

View More Computer Programming Questions and Answers | Return to Questions Index


Exams With Marking Schemes

Related Questions