🎴 Flashcard Mode

C Programming Fundamentals

Card1 / 14
Mastered0
Review0
QuestionClick to flip

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

AnswerClick to flip back
A
They must begin with a character without spaces but underscore is not permitted.
💡 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.

Change Mode