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

/*using pointers*/
main()
{
char str[]="MalyalaM";
char *s;
s=str+8;
while(s>=str)
{
printf("%c",*s);
s--;
}
}

Is This Answer Correct ?    10 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by stack unwinding in c++?

1234


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

1135


How can I learn dev c++ programming?

1063


Define virtual constructor.

1102


Differentiate between the message and method in c++?

1076


What is the difference between prefix and postfix versions of operator++()?

1086


What is meant by entry controlled loop? What all C++ loops are exit controlled?

1091


What is the use of cmath in c++?

1075


What are references in c++? What is a local reference?

1047


Explain the concept of friend function in c++?

1121


How do you compile the source code with your compiler?

1062


Can you declare an array without a size in c++?

1020


Is c++ the best programming language?

1025


What is the difference between mutex and binary semaphore?

1239


What is class definition in c++ ?

1099