GATEverse
← GATE CSE 2006

Q15

MCQ1 mark, −0.25

Consider the following C-program fragment in which ii, jj and nn are integer variables. for( i = n, j = 0; i > 0; i /= 2, j +=i ); Let val(j)val(j) denote the value stored in the variable jj after termination of the for loop. Which one of the following is true?

Sign in to save attempts.

Loading…