單項選擇題在結(jié)構(gòu)類型的定義中,不同數(shù)據(jù)成員的定義項之間采用的分隔符是()。

A.句點
B.冒號
C.分號
D.逗號


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題假定有“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;

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

A.struct BOOK *x=malloc(book);
B.struct BOOK x={"C++ Programming",27.0};
C.struct BOOK *x=malloc(sizeof(struct BOOK));
D.struct BOOK *x=&book;