Microprocessors

Q1: 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

ANS:B - 1 and 2 only

First character must be alphabet only.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.