1.

Which of then following is the correct output for the program given below?
#include <stdio.h>
int main()
{
int k = 5;
while ( k++ != 5)
printf ("%d", ++k);
printf (" n");
return 0;
}

A. 5 6 7 ........ 127 0 1 2 3 4
B. 5 6 7.........65535 0 1 2 3 4
C. 5 6 ...........32767 -32766 -32765 ...... 3 4
D. No output
Answer» E.


Discussion

No Comment Found

Related MCQs