IBM Interview Question

Basic programming qstns