注意:此页面搜索的是所有试题
题目内容
(池州学院-数学与应用数学)
假定有“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(BOOK));
D、struct BOOK **x=&book;
A、struct BOOK *x=malloc(book);
B、struct BOOK x={“C++ Programming”,27.0};
C、struct BOOK *x=malloc(sizeof(BOOK));
D、struct BOOK **x=&book;
参考答案