1.

What will be the output of the following code?#includeint main() { int p,t,si; float r; p=5000;t=4;r=7.5;si=(p*t*r)/100; printf("%f",si); return 0;}A)1500.000000B)0.000000C)1400.000000D)compilation error

Answer»

Answer:

a 1500 // the which u have GIVEN is incorrect btw because the DATA TYPE is in int not in double



Discussion

No Comment Found