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

Explain about vectors in c ++?

978


What is a dll entry point?

961


Is there any difference between int [] a and int a [] in c++?

964


What are structures and unions?

963


What are the five basic elements of a c++ program?

1065


What is the outcome of cout< a) 16 b) 17 c) 16.5

981


Explain public, protected, private in c++?

972


What is data type in c++?

980


Explain one method to process an entire string as one unit?

1534


Is map thread safe c++?

1033


What are manipulators in c++ with example?

1020


What is a local reference?

1152


Is c++ double?

989


What are c++ variables?

1016


Which function cannot be overloaded c++?

1059