Sail E0 Webinar
Question
Which of the following is true for variable names in C?
Options:
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


According to the syntax for C variable name, it cannot start with a digit.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers