Accenture interview question

OOPS and C concepts