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 header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h

1003


Is oops and c++ same?

994


Can you please explain the difference between using macro and inline functions?

989


What are keywords in c++?

1042


What are shallow and deep copy?

1038


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

1006


what is C++ exceptional handling?

1084


Explain how would you handle a situation where you cannot call the destructor of a local explicitly?

909


What happens when you make call 'delete this;'?

1017


What is the use of this pointer in c++?

965


what are the iterator and generic algorithms.

1908


Perform addition, multiplication, subtraction of 2-D array using Operator Overloading.

3790


What is encapsulation in c++ with example?

950


Explain the differences between list x; & list x();.

954


What are the basics of local (auto) objects?

1077