What will the value of the solution variable be after the code segment below has been run.
int solution = 7;
int number19 = 16, number19 = 4;
solution *= number19 - number19 ;
The answer will be an error because of this line: int number19 = 16, number19 = 4;
This is because redeclaration of variable number19.
Comments
Leave a comment