using only #include <stdio.h> and #include <stdlib.h> Write a program in C that will read an input from the user and print it back to the user if it is a palindrome. The string ends when it encounters a whitespace. The input string is at most 30 characters. Assume the string has no spaces and distinguish between and lowercase. So madam is a palindrome, but MadAm is not a palindrome. Use scanf and %s to read the string.
Sample Test:
Enter a string: madam
madam is a palindrome.
Enter a string: 09023
09023 is not a palindrome.
No Answer is Posted For this Question
Be the First to Post Answer
What is the use of bit field?
How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance
Stimulate calculator using Switch-case-default statement for two numbers
Why & is used in c?
What is external and internal variables What is dynamic memory allocation what is storage classes in C
How are variables declared in c?
c program to add and delete an element from circular queue using array
What is 02d in c?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What is c programing language?
what do you mean by defining a variable in our c code?
What is the difference between exit() and _exit()?