Amazon Interview Question

Few very simple questions on debugging code.