问题 单项选择题

已知有声明"struct date{ int y,m;}a={2013,5},b={0};",以下选项中合法的语句是________。

A.if (a>b) b=a;

B.a++;

C.b=a;

D.b=(a.y,a.m);

答案

参考答案:C

选择题
单项选择题