Knowee
Questions
Features
Study Tools

A C variable cannot start with______________Question 9Answera.Both number and special symbol other than underscoreb.A special symbol other than underscorec.A numberd.An alphabet

Question

A C variable cannot start with______________Question 9Answera.Both number and special symbol other than underscoreb.A special symbol other than underscorec.A numberd.An alphabet

🧐 Not the exact question you are looking for?Go ask a question

Solution

A C variable cannot start with a number. Therefore, the correct answer is c. A number.

In C programming, a variable name must start with a letter or an underscore. It can't start with a number or any special symbol other than an underscore.

Similar Questions

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

Which of the following is true for variable names in C?a.They can contain alphanumeric characters as well as special charactersb.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 digitd.Variable can be of any length

All keywords in C are in ____________Question 12Answera.UpperCase lettersb.CamelCase lettersc.None of the mentionedd.LowerCase letters

Which of the following is an invalid identifier in C?

riablesWhich of the following is true for variable names in C?OptionsVariable names cannot start with a digitVariable can be of any lengthIt is not an error to declare a variable to be one of the keywords (like goto, static)They can contain alphanumeric characters as well as special characters

1/3

Upgrade your grade with Knowee

Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.