Your question is OOP Principles in Embedded C/C++. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
What are the core principles of Object-Oriented Programming, and how do they apply to writing clean, maintainable embedded C/C++ code? Explain encapsulation, abstraction, inheritance, and polymorphism, then connect them to practical embedded concerns such as limited memory, deterministic timing, hardware interfaces, and testability. Include one concrete example and mention when composition is preferable to inheritance.