单项选择题

分别运行下列两段程序后,y1和y2的值是______。
程序段1:
#define f(x) x*x
float x, y1;
x=2.0;
y1=x/f(x);
程序段2:
#define f(x) (x*x)
float x, y2;
x=2.0;
y2=x/f(x);

A.y1=2.0,y2=0.5
B.y1=0.5,y2=2.0
C.y1=2.0,y2=1.0
D.y1=1.0,y2=2.0