單項選擇題假定一個結構類型的定義為 “struct A{int a,b; double c;};”,則該類型的長度為()。

A.8
B.10
C.12
D.16


您可能感興趣的試卷

你可能感興趣的試題

2.單項選擇題假定有“struct BOOK{char title[40]; float price;} book;”,則正確的語句為()。

A.struct BOOK x= &book;
B.struct BOOK *x=&book;
C.struct BOOK x=calloc(BOOK);
D.struct BOOK *x=BOOK;