1.

Which of the following is the correct output for the program given below?#include <stdio.h>int main ( ){ int a = 5; float b = 5.0; if (a == b) printf (" a and b are equal n"); else printf ("a and b are not equal n"); return 0;}

A. a and b are equal
B. a and b are not equal
C. Unpredictable
D. No output
Answer» B. a and b are not equal


Discussion

No Comment Found

Related MCQs