Cognizant Interview Question

Basic C++ Questions and some basic algorithm