Question
What is the problem in following variable declaration?
float 3Bedroom-Hall-Kitchen?;
float 3Bedroom-Hall-Kitchen?;
Answer: Option D
Was this answer helpful ?
A variable name cannot start with an integer, along with that the C compiler
interprets the '-' and '?' as a minus operator and a question mark operator respectively.
Was this answer helpful ?
Submit Solution