WD interview question

How to support plug and play module in c++