1.

What will be the output of the following C code?
#include <stdio.h>
int main()
{
int p = 4, q = 4;
float var = q + p /= p / q;
printf("%d %f n", p, var);
return 0;
}

A. 5 5.000000
B. 5.000000 5
C. Compilation Error
D. 4
E. None of these
Answer» D. 4


Discussion

No Comment Found

Related MCQs