Infosys interview question

mostly on c and sql for non it freshers