1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
float num = 0.2;
printf("%d, ", num);
printf("%f", num);
}

A. Garbage value, 0.200000
B. 0.200000, Garbage value
C. Compilation Error
D. Runtime Error
E. None of these
Answer» B. 0.200000, Garbage value


Discussion

No Comment Found

Related MCQs