1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int k = 0;
while (++k)
{
printf("Interview Mania");
}
}

A. Compilation Error
B. "Interview Mania" one time
C. "Interview Mania" infinite times
D. Runtime Error
E. None of these
Answer» D. Runtime Error


Discussion

No Comment Found

Related MCQs