Choice of Identifier in Program

Q6. What factors guide the choice of identifiers in programs?

Ans. (i) An identifier must start with a letter or underscore followed by any number of digits and/or letters.

(ii) No reserved word or standard identifier should be used.

(iii) No special character (other than underscore) should be included in the identifier.

Leave a Reply

Your email address will not be published. Required fields are marked *

94 Views
%d bloggers like this: