下列程序运行结果是 。 #include <iostream.h> #include <string.h> class InvItem { char *desc; int units; public: InvItem(int size = 51) { desc = new char[size]; strcpy(desc, "C"); units = 0; } InvItem(char *d, int u=0) { desc = new char [strlen(d)+1]; strcpy(desc, d); units = u; } ~InvItem( ) { delete [ ]desc; } char *getDesc( ) { return desc; } int getUnits( ) { return units; } }; void main(void) { InvItem Inventory[3] = { InvItem("A", 10),InvItem("B") }; for(int Index = 0; Index < 3; Index++) { cout << Inventory[Index].getDesc( ); cout << Inventory[Index].getUnits( ) < <endl; }>