Quantiphi Interview Question

Explain me OOPS concepts in C++