Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which of the following is not a valid C variable name?

a) float rate;
b) int variable_count;
c) int number;
d) int $main;

Answer: d
Explanation: Since only underscore and no other special character is allowed in a variable name, it results in an error.

Join The Discussion