Consider the following program fragment
char c = ' a ';
while ( c++ <= ' z ')
putchar ( xxx );
If the required output is abcdefghijklmnopqrstuvwxyz, then xxx should be
A. | c |
B. | c++ |
C. | c-1 |
D. | -c |
Answer : C Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |