C/C++ interview question:
What leads to code-bloating in C++?
Inline functions and templates, if not used
properly, may lead to code bloating. Multiple Inheritance may also lead
to code bloating (this is because the sub classes will end up getting
members from all the base classes even if only few members will
suffice). Techniques to avoid code blot are discussed in â€œEffective C++