Posts

Showing posts with the label C coding exercises

3 Simple C programs to check palindrome string

Simple C Program to check palindrome string or whether string is palindrome or not: To check palindrome, declare a variable flag and initialize it to 1 and then compare first element with last element then second element with second last element and so on.