C Programming MCQ

1:

Consider the following program segment

i = 6720;
j = 4;
while (( i % j ) == 0) 
{
       i = i / j ;
       j = j + 1;
}


on termination j will have the value

A.

4

B.

8

C.

9

D.

6720

 

Answer : C

Explanation :

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.