C Programming MCQ

1:

Consider following program fragment char c ='a' ;

while (c++ < = 'z')
putchar (xxx) ;


If required output is abcd....xyz, then xxx should be

A.

c++

B.

c-2

C.

c-1

D.

--c

 

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.