Cognizant interview question

DB, basic programming in C