What will be the output of the following program on GCC?

		
					

Loading

Choose the correct option.

What will be the output of the following program on GCC?

#include 
int main(){
double x,d=5.0;
int y;
x=d*(x=2.5/d);
printf("x=%lf ",x);
x=d*(y=(int)2.5 + 1.5);
printf("x=%lf y=%d ",x,y);
return 0;
}

A. x=2.500000
x=15 y=3
B. x=2.500000
x=15.000000 y=3.5000000
C. x=2.500000
x=15.000000 y=3.5
D. x=2.500000
x=15.000000 y=3