单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book=newBOOK;”,则正确的语句为()。Astrcpy(book-title,”WangTao”)Bstrcpy(book.title,”WangTao”)Cstrcpy(*book.title,”WangTao”)Dstrcpy((*book)-title,”WangTao”)

单选题
假定有“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”)


参考解析

解析: 暂无解析

相关考题:

以下选项中正确的语句组是A)char s[]; s="BOOK!";B)char *s; s={"BOOK!"};C)char s[10]; s="BOOK!";D)char *s; s="BOOK!";

(32)以下选项中正确的语句组是A)char s[];s=”BOOK!”; B) char *s;s={”BOOK!”};C)char s[10];s=”BOOK!”; D) char *s;s=”BOOK!”;

《书经》(《尚书》)的英文翻译是?A. Book of SongsB. Book of RitesC. Book of ChangeD. Book of Documents

An e—book (also referred to as an electronic book, e—book, or e—book) is a digital version of a print book that you download and read. But if you want to read an e—book , you must have an E—book Reader, which is a kind of free software used by your computer. Make sure you have instal1ed the appropriate Reader before you download your e—book from the Internet.The software allows you to turn the words on the screen into the size you like. It also helps you turn pages and change your viewing options. E —books are a fun alternative to regular books. You can download them to any computers and create your library of hundreds of titles. If you load them onto your portable computer, you can take them with you when you travel. Some e—books are even interactive! Best of all, when you order an e—book, there is no waiting and no shipping charges. The amount of time it takes to download your e —book depends on the speed of your connection and the size of your e— book.26、From this passage, we learn that an e—book()A、 can be found in any libraryB、 can be read directly from the InternetC、 can be read when special software is installed27、 The E-book Reader is used for()A、 reading an e—book you’ve downloadedB、 turning a print book into a digital versionC、 downloading an e—book from the InternetD、 copying an e—book onto a portable computer28、 From this passage, we can learn that()A、 you can read an e-book on a laptop when you travelB、 you can order an e—book using the E—book ReaderC、 the e—books ordered have to be shipped to youD、 it takes a lot of trouble reading an e—book29、 Which of the following statements is TRUE?()A、 An e—book is ordered in print book、B、 The size of the words in an e—book cannot be changedC、 The downloading time is decided by the c—book’s sizeD、 There is less fun reading an e—book than a print book、30、 The passage is mainly about()A、 a better way to download an E—bookB、 a new kind of book—the E—booksC、 the new version of E—books

假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”,则正确的语句为()。A、BOOK*x=newbook;B、BOOKx={"C++Programming",27.0};C、BOOK*x=newBOOK;D、BOOK*x=book;

下列选项中正确的语句是( )。A.chars[3];s="BOOK!";B.char*s;s={"BOOK!"};C.chars[10];s="BOOK";D.char*S;s="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

当Book1被Book2盖住时,请激活Book1。

假定有“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;

下列属于Excel电子表格文件的是()A、book1.jpgB、book1.docC、book1.xlsD、book1.mdb

下列元素定义中正确的是()。A、book/BookB、BOOK/bookC、book/bookD、Book/bOOK

《书经》(《尚书》)的英文翻译是?( ) A、Book of SongsB、Book of RitesC、Book of ChangeD、Book of Documents

关于《尚书》的翻译,下列选项正确的是()。A、Book of SongsB、Book of RitesC、Book of ChangeD、Book of Documents

假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。A、BOOK*x=newbookB、BOOKx={“C++Programming”,27.0}C、BOOK*x=newBOOKD、BOOK**x=&book

al FoxPro中,如果用语句:a="book",book="展望",?a,book后,结果是: book 展望

下列哪个属于数据库文件()A、book.jpgB、book.mdbC、book.docD、book.ppt

如果要查询book表中所有书名以“数据库”开头的书籍价格,下列()语句是正确的。A、SELECT price FROM book WHERE book_name=“数据库*”B、SELECT price FROM book WHERE book_name LIKE“数据库*”C、SELECT price FROM book WHERE book_name=“数据库%”D、SELECT price FROM book WHERE book_name LIKE“数据库%”

《尚书》在西方被翻译为()。A、Book of SongsB、Book of RitesC、Book of DocumentsD、Book of Change

单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。ABOOK*x=newbookBBOOKx={“C++Programming”,27.0}CBOOK*x=newBOOKDBOOK**x=&book

单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book=newBOOK;”,则正确的语句为()。Astrcpy(book-title,”WangTao”)Bstrcpy(book.title,”WangTao”)Cstrcpy(*book.title,”WangTao”)Dstrcpy((*book)-title,”WangTao”)

单选题查询book表中所有书名中包含“计算机”的书籍情况,可用()语句。ASELECT*FROM book WHERE book_nameLIKE‘*计算机*’BSELECT*FROM book WHERE book_nameLIKE‘%计算机%’CSELECT*FROM book WHERE book_name=‘%计算机*’DSELECT*FROM book WHERE book_name=‘*计算机%’

判断题al FoxPro中,如果用语句:a="book",book="展望",?a,book后,结果是: book 展望A对B错

单选题假定有“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;

单选题假定有“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;

单选题要查询book表中所有书名中以“计算机”开头的书籍的价格,可用()语句。ASELECT price FROM book WHERE book_name=‘计算机*’BSELECT price FROM book WHERE book_nameLIKE‘计算机*’CSELECT price FROM book WHERE book_name=‘计算机%’DSELECT price FROM book WHERE book_nameLIKE‘计算机%’