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 / bala murali

#include<stdio.h>
#include<conio.h>
main()
{
char s1,s2;
printf("enter a string:");
gets(s1);
strcpy(s2,s1);
strrev(s2);
if(strcmp(s1,s2))
printf("palindrome:");
else
printf("not a palindrome:");
getch();
}

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why use of template is better than a base class?

1187


Explain the operation of overloading of an assignment operator.

1173


How is objective c different from c++?

1255


How should runtime errors be handled in c++?

1150


How do I download c++?

1007


In a function declaration what does extern means?

1053


Which sort does c++ use?

1021


What does asterisk mean in c++?

1119


What is an iterator class in c++?

1139


What is the exit function in c++?

989


What is a multimap c++?

1205


Is swift faster than c++?

1025


What is heap sort in c++?

1074


What is the best c c++ compiler for windows?

1063


What data encapsulation is in c++?

1157