Cognizant interview question

C and c++ difference What is Constructor What is virtual function Palindrome Code