Does the following code contain errors?

class A {
  static void Foo();
};

void A::Foo() { }
Explanation
Get an explanation when it's available:
C++
C++ Quiz
Start Quiz

or Read more about C++ Quiz

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback