#include <iostream>
using namespace std;
class A{
public:
int a;
virtual void fun();
};
int main(){A obj;}
getting error undefined reference to 'vtable for A'. I want to know why without implement virtual function giving this type of error.