Qualcomm interview question

tell oops concepts, write basic C programs