C Language MCQ - English
Which of the following is true for variable names in C?
Home | Discussion ForumWhich of the following is true for variable names in C?
They can contain alphanumeric characters as well as special characters
It is not an error to declare a variable to be one of the keywords(like goto, static)
Variable names cannot start with a digit
Variable can be of any length
Answer : C
View More Related Question
1) All keywords in C are in
2) What is the problem in following variable declaration?
float 3Bedroom-Hall-Kitchen?;
The variable name begins with an integer
The special character ‘-‘
The special character ‘?’
All of the mentioned
View Answer
3) Variable name resolving (number of significant characters for uniqueness of variable) depends on
Compiler and linker implementations
Assemblers and loaders implementations
C language
None
View Answer
4) A constant cannot be used except:
For assigning initial value to a variable
With ++ operator
As a formal argument
On LHS of an assignment operator
View Answer
5) Which of the following is not a valid variable name declaration?