What is the output :int x=3;((x>4)?9.99:8.88))

This question is related to Oracle Interview

Showing Answers 1 - 1 of 1 Answers

Sunil

  • Sep 25th, 2006
 

Output is:8.88x which is 3, is compared with value 4 and the conditional statement fails and else part (after :) is executed.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions