QUESTION IMAGE
Question
which of the following is a correct assignment statement? int i = 72; int 3 = j; int h = 21.9;
Brief Explanations
In programming, variable names cannot start with a number (so int 3 = j; is incorrect), and an int data - type is for integer values, not floating - point values like 21.9 (so int h = 21.9; is incorrect). The int i = 72; is a correct way to declare and initialize an integer variable in many programming languages.
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 i = 72;