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
Explain About fork()?
code for quick sort?
Write a program to reverse a given number in c language?
What is the difference between int main and void main in c?
How can I read and write comma-delimited text?
4.A function 'q' that accepts a pointer to a character as argument and returns a pointer to an array of integer can be declared as: A)int (*q(char*)) [] B)int *q(char*) [] C)int(*q)(char*) [] D)None of the Above
What is the maximum length of an identifier?
What's wrong with "char *p; *p = malloc(10);"?
Difference between strcpy() and memcpy() function?
write a function for strtok()??
what is a void pointer?
find the size of structure without using the size of function