【单选题】写出下面程序的运行结果_______________ #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,pric...
【简答题】写出程序运行结果 #include 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; }; main() { toy op[3][2]={...