// Abstract and concrete classes in C++ #include using namespace std; class B { public: virtual void f()=0; }; class C : public B { public: void f(){cout << "C";} }; //Draw a UML class diagram of B and C and make one of them {abstract} main() // What compiles below? { //B b; B * pb; C c; pb=&c; }