268 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

281
views
1 answers
0 votes
iita asked Jan 15, 2017
281 views
263
views
1 answers
0 votes
iita asked Jan 15, 2017
263 views
267
views
1 answers
0 votes
iita asked Dec 5, 2016
267 views
141
views
0 answers
0 votes
iita asked Dec 5, 2016
141 views