写出下面程序的运行结果_______________ #include
using namespace std; class toy {public: toy(int q,int p) { quan=q; price=p; } int get_quan() {return quan; } int get_price() {return price; } private: int quan,price; }; int main() { toy op[3][2]={ toy(10,20),toy(30,48), toy(50,68),toy(70,80), toy(90,16),toy(11,120), }; for(int i=0;i<3;i++) { cout<
<<","; cout<
<<"\n"; cout<
<<","; cout<
<<"\n"; } cout<
A.
10 20 30 48 50 68 70 80 90 16 11 120
B.
30,48 10,20 50,68 70,80 90,16 11,120
C.
10,20 30,48 50,68 70,80 90,16 11,120
D.
10,20 30,48 50,68 70,80 11,120 90,16