Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

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

Answer Attachments

Exams With Marking Schemes

Related Questions