Multiple choice

Which one is wrong with respect to variable name in C language?

  1. Variable name should start with alphabet.

  2. Variable name contains the space.

  3. Variable name should be different from the keywords.

  4. Variable name contains underscore(_).

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Space is not allowed in variable name. For example, RollNum is valid and Roll Num is invalid variable name.