單項選擇題設(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


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題若有int b[4]={0,1,2,3},*p則數(shù)值不為3的表達式是:()

A.p=s+2,*(p++)
B.p=s+3,*p++
C.p=s+2,*( ++p)
D.s[3]