1.

What will be the output of the following C code?#include <stdio.h> int main() { float num = 0.2; if (num == 0.2f) { printf("Equal n"); } else { printf("Not Equal n"); } }

A. Equal
B. Not Equal
C. output depends on compiler
D. Compilation Error
E. None of these
Answer» B. Not Equal


Discussion

No Comment Found

Related MCQs