Cognizant interview question

Technical Questions involving C,SQL,OOPs