258 views
0 votes
0 votes

2 Answers

1 votes
1 votes

i=!(i>40) ; (10 greater than 40)

=> i=!(false)

=> i=!(0)

=> i=1;

So 1 will be printed.

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.

Related questions

0 votes
0 votes
1 answer
1
iita asked Jan 15, 2017
276 views
0 votes
0 votes
1 answer
2
iita asked Jan 15, 2017
254 views
0 votes
0 votes
1 answer
3
iita asked Dec 5, 2016
259 views
0 votes
0 votes
0 answers
4
iita asked Dec 5, 2016
138 views