注意:此页面搜索的是所有试题
假定有“struct BOOK{char title[40]; float price;}; BOOK *book=new BOOK;”,则正确的语句为( )。
A
strcpy(book->title,”Wang Tao”);
B
strcpy(book.title,”Wang Tao”);
C
strcpy(*book.title,”Wang Tao”);
D
strcpy((*book)->title,”Wang Tao”);

参考答案