單項(xiàng)選擇題

已知有職工情況結(jié)構(gòu)變量emp定義為:

下列對(duì)emp的birth正確賦值方法是()。

A.year=1980;month=5;day=1;
B.birth.year=1980;birth.month=5;birth.day=1;
C.emp.year=1980;emp.month=5;emp.day=1;
D.emp.birth.year=1980;emp.birth.month=5;emp.birth.day=1;

微信掃碼免費(fèi)搜題