Cognizant interview question

Questions to write difficult programs in C.