Infomatrix Inc. Interview Question

basic pointers and aptitude question