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 / shah

#include<iostream.h>
#include<conio.h>
#include<string.h>
#include<stdio.h>
void main()
{
clrscr();
char str[30],str1[30];
cout<<"ENTER THE WORD:";
gets(str);
strcpy(str1,str);
strrev(str);
if(strcmp(str,str1)==0)
cout<<"THE WORD IS PALINDROME";
else
cout<<"THE WORD IS NOT PALINDROME";
getch();
}

Is This Answer Correct ?    24 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a node class in c++?

1111


Why do we learn c++?

1026


What is endl c++?

1151


Is java as fast as c++?

1146


What are manipulators in c++ with example?

1109


Why is c++ still popular?

1097


Write about an iterator class?

1128


What is a pdb file?

1055


Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.

6451


What is the extraction operator and what does it do?

1124


How delete [] is different from delete?

1050


What is the disadvantage of using a macro?

1173


Tell me can a pure virtual function have an implementation?

1097


Is c++ the hardest language?

1031


Is dev c++ free?

1097