WHAT IS PURE VIRTUAL FUNCTION?

Arun Singh

Total Post:310

Points:1550
Posted by  Arun Singh
C# 
C#
 2427  View(s)
Ratings:
Rate this:
  1. Arun Singh

    Post:310

    Points:1550
    What is pure virtual function?

    class Base {
    public:
    void f1(); // not virtual
    virtual void f2(); // virtual, not pure
    virtual void f3() = 0; // pure virtual
    };

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!