Multiple choice

There are some rules for declaring a variable in C language. Which of the following rules is/are not correct for declaring variables?

  1. The variable name cannot start with a digit.

  2. The variables cannot be a C keyword.

  3. They must begin with a character without spaces but underscore is not permitted.

  4. Both 1 and 3.

  5. None of these

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

Yes, this is true that variable name must start with a character. But we are allowed to put underscore. For example, Int ab_c; is a valid variable in C. So, this rule is not correct.