Basic Programming Question For Interview