A、What an
B、What
C、What a
1.假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”,则正确的语句为()。A、BOOK*x=newbook;B、BOOKx={"C++Programming",27.0};C、BOOK*x=newBOOK;D、BOOK*x=book;
2.假定有“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”)
3.假定有“structBOOK{chartitle[40]floatprice}BOOK*book”,则不正确的语句为( )。A.BOOK*x=newbookB.BOOKx={"C++Programming", 27.0}C.BOOK*x=newBOOKD.BOOK*x=book
4.假定有“structBOOK{chartitle[40]floatprice}book”,则正确的语句为( )。A.BOOK&x=&bookB.BOOK&x=bookC.BOOK&x=newBOOKD.BOOK&x=BOOK
第1题:
当Book1被Book2盖住时,请激活Book1。
第2题:
第3题:
第4题:
第5题:
第6题:
假定有“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;