网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
假定有“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=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!”;
考题
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
考题
假定有“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
考题
如果要查询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“数据库%”
考题
单选题假定有“structBOOK{chartitle[40];floatprice;};BOOK*book;”定义,则不正确的语句为()。A
BOOK*x=newbookB
BOOKx={“C++Programming”,27.0}C
BOOK*x=newBOOKD
BOOK**x=&book
考题
单选题查询book表中所有书名中包含“计算机”的书籍情况,可用()语句。A
SELECT*FROM book WHERE book_nameLIKE‘*计算机*’B
SELECT*FROM book WHERE book_nameLIKE‘%计算机%’C
SELECT*FROM book WHERE book_name=‘%计算机*’D
SELECT*FROM book WHERE book_name=‘*计算机%’
考题
单选题假定有“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;
考题
单选题要查询book表中所有书名中以“计算机”开头的书籍的价格,可用()语句。A
SELECT price FROM book WHERE book_name=‘计算机*’B
SELECT price FROM book WHERE book_nameLIKE‘计算机*’C
SELECT price FROM book WHERE book_name=‘计算机%’D
SELECT price FROM book WHERE book_nameLIKE‘计算机%’
热门标签
最新试卷