网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。
- A、BOOK*x=newbook
- B、BOOKx={“C++Programming”,27.0}
- C、BOOK*x=newBOOK
- D、BOOK**x=&book
参考答案
更多 “假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。A、BOOK*x=newbookB、BOOKx={“C++Programming”,27.0}C、BOOK*x=newBOOKD、BOOK**x=&book” 相关考题
考题
假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”,则正确的语句为()。A、BOOK*x=newbook;B、BOOKx={"C++Programming",27.0};C、BOOK*x=newBOOK;D、BOOK*x=book;
考题
假定有“structBOOK{chartitle[40]floatprice}book”,则正确的语句为( )。
A.BOOK&x=&bookB.BOOK&x=bookC.BOOK&x=newBOOKD.BOOK&x=BOOK
考题
假定有“structBOOK{chartitle[40]floatprice}BOOK*book=newBOOK”,则正确的语句为( )。
A.strcpy(book->title,”WangTao”)B.strcpy(book.title,”WangTao”)C.strcpy(*book.title,”WangTao”)D.strcpy((*book)->title,”WangTao”)
考题
假定有“structBOOK{chartitle[40]floatprice}BOOK*book”,则不正确的语句为( )。
A.BOOK*x=newbookB.BOOKx={"C++Programming", 27.0}C.BOOK*x=newBOOKD.BOOK*x=book
考题
假定有“struct BOOK{char title[40]; float price;} book;”,则正确的语句为()。Astruct BOOK x= book;Bstruct BOOK *x=book;Cstruct BOOK x=calloc(BOOK);Dstruct BOOK *x=BOOK;
考题
假定有“struct BOOK{char title[40]; float price;}; struct BOOK book;”,则不正确的语句为()。Astruct BOOK *x=malloc(book);Bstruct BOOK x={"C++ Programming",27.0};Cstruct BOOK *x=malloc(sizeof(struct BOOK));Dstruct BOOK *x=book;
考题
单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。A
BOOK*x=newbookB
BOOKx={“C++Programming”,27.0}C
BOOK*x=newBOOKD
BOOK**x=&book
考题
单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book=newBOOK;”,则正确的语句为()。A
strcpy(book-title,”WangTao”)B
strcpy(book.title,”WangTao”)C
strcpy(*book.title,”WangTao”)D
strcpy((*book)-title,”WangTao”)
考题
单选题假定有“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;
考题
单选题假定有“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;
考题
问答题钢板筒仓仓身计算的假定有哪四种?
热门标签
最新试卷