1.

Consider the following rules for constructing variable names in C

1.It can have alphabets, digits or underscores but no other special character.

2.The maximum number of characters is 8.

3.The first character may be an alphabet or digit but not underscore.

Which of the above are correct?

A. All
B. 1 and 2 only
C. 1 and 3 only
D. 2 and 3 only
Answer» C. 1 and 3 only


Discussion

No Comment Found

Related MCQs