Given two C++ classes below, which class instance will have a larger memory size?
class A{
   int i;
  int foo(int a);
};

Class B{
   int i;
   virtual int boom(int b);
};

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes