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

Was 2000 a leap year?

0 Answers  


What is a double c?

0 Answers  


Is there a way to compare two structure variables?

0 Answers  


what is linkage error when it occurs in c program

3 Answers  


how to write palindrome program?

3 Answers  


what is the flow of execution in cprogram? ex:printf();,scanf();

2 Answers  


Define Spanning-Tree Protocol (STP)

0 Answers  


What are the storage classes in C?

0 Answers  


What is scope rule of function in c?

0 Answers  


Can you assign a different address to an array tag?

0 Answers  


how to use showbits function?

2 Answers   Infosys, TATA,


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


Categories