IBM Interview Question

Identify bugs in sample program