Question #265172

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

   

   

bool result ;  

int number3 = 17, number7 = 33;  

  

result = number3 > number7 ; 


Expert's answer

The output is a blank line, this is because the segment lacks a validation code to print out the boolean value for the result.


LATEST TUTORIALS
APPROVED BY CLIENTS