QUESTION IMAGE
Question
which of the following is a not correct assignment statement
int 13 = h;
double f = 13 + 2.6;
int a = 23;
Brief Explanations
In programming, variable names must start with a letter, an underscore, or a dollar sign. In the statement "int 13 = h;", the variable name starts with a digit which is incorrect syntax. The other two statements follow proper assignment - variable 'f' is assigned the sum of an integer and a double, and variable 'a' is assigned an integer value.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
int 13 = h;