Consider the following C-program fragment in which , and are integer variables.
for( i = n, j = 0; i > 0; i /= 2, j +=i );
Let denote the value stored in the variable after termination of the for loop. Which one of the following is true?
View answer
Answer: C
Worked explanation not available yet.
Free practice · Your answers on this page are not saved.
