Cognizant interview question

Questions asked from your dept along with c/c++