1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
double n = 23458965.12124;
int m = n;
printf("%d", m);
printf(" %lf", m);
}

A. 23458965, 0.000000
B. 0.000000, 23458965
C. Compilation Error
D. Runtime Error
E. None of these
Answer» B. 0.000000, 23458965


Discussion

No Comment Found

Related MCQs