#include <iostream>using namespace std; class b{ public: virtual void func(){}}; int main() { cout<<sizeof(b); return 0;}
Standard input is empty
8
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!