Cognizant Interview Question

Can you make a C++ code for palindrome?