What independent changes will allow the code to work correctly?
class Counter {
  public: // 1
    void Count(); // 2
};

int main() {
  Counter obj;
  obj.Count();
  return 0;
}

// 3

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
C++ quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes