A.p是指向一維數(shù)組的指針 B.p是指向函數(shù)的指針,該函數(shù)返回一int型數(shù)據(jù) C.p是指向int型數(shù)據(jù)的指針 D.p是函數(shù)名,該函數(shù)返回一指向int型數(shù)據(jù)的指針
設(shè)有以下說明語句: typedef struct stu { int a; float b; } stutype; 則下面敘述中錯(cuò)誤的是()
A.struct是結(jié)構(gòu)類型的關(guān)鍵字 B.struct stu是用戶定義的結(jié)構(gòu)類型 C.a和b都是結(jié)構(gòu)成員名 D.stutype是用戶定義的結(jié)構(gòu)體變量名
設(shè)有如下定義: struck sk { int a; float b; }data; int *p; 若要使P指向data中的a域,正確的賦值語句是()
A. p=&a; B. p=data.a; C. p=&data.a; D.*p=data.a;