Discussion :: C-MCQs
- Which of the following is true for variable names in C?
A.
They can contain alphanumeric characters as well as special characters.
|
B.
It is not an error to declare a variable to be one of the keywords(like goto, static)
|
C.
Variable names cannot start with a digit.
|
D.
Variable can be of any length.
|
Answer : Option C
Explanation :
According to the syntax for C variable name, it cannot start with a digit.
Be The First To Comment