C program to check the string is palindrome or not using string function? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C program to check the string is palindrome or not using string function?

3rd Dec 2017, 1:11 PM
Rohit Potter
3 Answers
+ 2
Here is the code: https://code.sololearn.com/co6tYsvA4BIH/#cpp I have done it without using any string functions since you should know how to do it manually. If you want to use string functions you can check in the net. Infact you dont get manual c++ codes for string programs. 90% of string programs in the net are done using string functions (#include<cstring>) or with pointers
3rd Dec 2017, 2:31 PM
RR2001
RR2001 - avatar
+ 1
You need to write a function to reverse the string which the user will write and compare the two arrays .
3rd Dec 2017, 1:17 PM
RR2001
RR2001 - avatar
+ 1
The idea is simple. Try and post your worked out code so that we can modify it. Dont simply post it down here. There's no learning at all
3rd Dec 2017, 1:18 PM
RR2001
RR2001 - avatar