C Programming MCQ

1:

How many times will the following loop be executed if the input data item is 0 1 2 3 4 ?

while (c = getchar ()! = 0)
{ }

A.

Ininitely

B.

never

C.

once

D.

None of these

 

Answer : A

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.