Cognizant interview question

DBMS, sql, c , c++