What will be the size (in bytes)of an object of class child in the code given above?
class super {
int a;
public:
int b : protected : int c;
};
class parent : public super {
float d;
protected:
char e;
};
class child : private parent {
int f;
public:
float g;
};
Format! Style:
C++ online code formatter © 2014 by KrzaQ
Powered by vibe.d, the D language and clang-format
Reveal answer
Fill a bubble to check yourself