Custom C++ Class with multiple inheritance

So let’s say I have C++ classes: A, B, C.

Can C inherit from A and B and then use C as a Component?