單項選擇題

設(shè)有如下定義:struct jan{int a;float b;}c2,*p;若有p=&c2;則對c2中的成員a的正確引用是:()

A.(*p).c2.a
B.(*p).a
C.p->c2.a
D.p.c2.a

微信掃碼免費搜題