1.

What will be the output of the program?

#include<stdio.h>
#define SQUARE(x) x*x int main()
{ float s=10, u=30, t=2, a; a = 2*(s-u*t)/SQUARE(t); printf("Result = %f", a); return 0;
}

A. Result = -100.000000
B. Result = -25.000000
C. Result = 0.000000
D. Result = 100.000000
Answer» B. Result = -25.000000


Discussion

No Comment Found