Question #267044

What will the value of the result variable be after the code segment below has been run.


int number2 = 79;

int result = 55;

if( number2 <= 29 )

{

  result *= number2 ;

}




Expert's answer

When the segment of the code is run, the compiler will debug nothing for the value of result.


LATEST TUTORIALS
APPROVED BY CLIENTS