-
What is the problem in following variable declaration?
float 2B-H-K?;
-
- The special character ‘-‘
- The special character ‘?’
- The variable name begins with an integer
- All of above
- None of these
Correct Option: D
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.