In C++, a pure virtual function is declared by:ASetting it equal to 0 in the class declaration, e.g. virtual void f() = 0;BDeclaring it as staticCDeclaring it outside the class bodyDUsing the keyword abstract Correct answer: A Join the discussion Report an error