單項(xiàng)選擇題假定有“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;


您可能感興趣的試卷