Cognizant Interview Question

Basic c language