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 are pointers in C? Give an example where to illustrate their significance.
how to create c progarm without void main()?
Why is C language being considered a middle level language?
how to write a bubble sort program without using temporary variable?
What is c programming structure?
What is ponter?
What is the scope of static variables?
what is the use of c program?
4 Answers Synergy, Web Synergies,
what is the code for getting the output as * ** ***
What is a volatile keyword in c?
What is the difference between local variable and global variable in c?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.