C Language MCQ - English
Which of the following cannot be a variable name in C?
volatile
true
friend
export
Answer : A
View More Related Question
1) Which of following is not a valid name for a C variable?
2) Which 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
View Answer
3) 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
4) A declaration "short int" is used for variable
Which have short duration in a program
Which have short names
Which may require less storage than normal integers
All of the above
View Answer
5) Which of the following is not a valid variable name declaration?