1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int num = 4, k = 1;
do {
num = num++;
k++;
} while (k != 4);
printf("%d n", num);
}

A. 1
B. Undefined behaviour
C. 2
D. 3
E. 4
Answer» F.


Discussion

No Comment Found

Related MCQs