单项选择题
有如下变量定义,则对 car 中 a 的引用正确的是?
struct Car{ int a; int s;} car, *ptr=&car;
A、(*p).a;
B、(*p).car.a;
C、p->car->a;
D、p.car.a;
点击查看答案&解析
相关考题
