Cognizant Interview Question

I have been asked to write coding in C