多做题,通过考试没问题!

C++语言程序设计

睦霖题库>大学试题(计算机科学)>C++语言程序设计

已知有职工情况结构变量emp定义为: 下列对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;
正确答案:D
答案解析:
进入题库查看解析

微信扫一扫手机做题