IBM Interview Question

Basics of C, oops concepts