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...

write program for palindrome

Answer Posted / ram thilak.p

#include<stdio.h>
#include<conio.h>
#include<string.h>

void main()
{
char a[20];
int c;
printf("\n\n\t Enter A String:");
scanf("%s",a);
c=strcmpi(strrev(a),a);
if(c==0)
{printf("\n %s is a Palindrome",a);}
else
{printf("\n %s is not a Palindrome",a);)
getch();
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is abstract class in c++?

1046


Write a function that swaps the values of two integers, using int* as the argument type?

1025


What is a multimap c++?

1197


What is a down cast?

1103


What is the exit function in c++?

983


Ask to write virtual base class code?

2748


What is name hiding in c++?

1155


What is the two main roles of operating system?

1037


What are manipulators in c++ with example?

1058


What causes a runtime error c++?

1125


Differentiate between late binding and early binding. What are the advantages of early binding?

1029


Which software is best for programming?

1152


How do you declare A pointer to function which receives an int pointer and returns a float pointer

1205


What are the advantage of using register variables?

1164


Which operator cannot be overloaded c++?

1012