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
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
who will call your main function in c under linux?
Is there a way to compare two structure variables?
How is a two dimensional array passed to function when the order of matrix is not known at complie time?
What's the right way to use errno?
What is operator precedence?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
how to swap 2 numbers within a single statement?
What is the function of this pointer?
0 Answers Agilent, ZS Associates,
being a chemical engineer and with an aggregate of 80% why you opt for TCS and not your core industry?
what is the difference between structure and union?
What is the meaning When we write "#include" what is # and what does include does there???