Cognizant interview question

Asked About Basic Knowledge in Programming