阅读下面的代码,输出是( )。
struct Book { string title; int pages; };
Book b[2] = {{"Math", 120}, {"Art", 90}};
cout << b[1].title << " " << b[0].pages;
- A.
Math 120 - B.
Art 90 - C.
Math 90 - D.
Art 120
g4-06854.in输出g4-06854.out阅读下面的代码,输出是( )。
struct Book { string title; int pages; };
Book b[2] = {{"Math", 120}, {"Art", 90}};
cout << b[1].title << " " << b[0].pages;
Math 120Art 90Math 90Art 120