0 votes 0 votes iita asked Jan 15, 2017 iita 258 views answer comment Share Follow See 1 comment See all 1 1 comment reply vishwa ratna commented Jan 15, 2017 reply Follow Share The output should be 10. 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes i=!(i>40) ; (10 greater than 40) => i=!(false) => i=!(0) => i=1; So 1 will be printed. target2017 answered Jan 15, 2017 target2017 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes The output should be 10 , No need of the middle ststement that is given , even if it is true or false the below statement will execute. vishwa ratna answered Jan 15, 2017 vishwa ratna comment Share Follow See all 0 reply Please log in or register to add a comment.