Answers to Quiz 2

  1. 程式是錯的.class宣告結尾要加上分號.
    class Sample
    {
    public:
            int i;
            int j;
            char* sPtr;
    };
  2. 2
    1