Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More C Interview Questions

What is the use of bit field?

0 Answers  


How do we swap or interchange any 2 numbers without using Temporary variable...Anybody can pls answer it.. Thanks in Advance

8 Answers  


Stimulate calculator using Switch-case-default statement for two numbers

0 Answers   Wipro,


Why & is used in c?

0 Answers  


What is external and internal variables What is dynamic memory allocation what is storage classes in C

3 Answers  


How are variables declared in c?

0 Answers  


c program to add and delete an element from circular queue using array

3 Answers  


What is 02d in c?

0 Answers  


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

0 Answers   CSC, Wipro,


What is c programing language?

0 Answers  


what do you mean by defining a variable in our c code?

2 Answers  


What is the difference between exit() and _exit()?

2 Answers  


Categories