Detailed Print – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  


Shop
siteicon
Code Learning#CPP#1395

Check if string is a palindrome using a function.

Check if a character array or c-style string is same (Palindrome) when reversed using an independent function.

Source Code

		 

Click to open popup

Run Output

Give a string input: malayalam
Given input is a palindrome

or

Give a string input: english
Given input is not a palindrome


Suggested Filename(s): stringpalinfunc.cpp, palinfunc.cpp