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

Define basic type of variable used for a different condition in C++?

1193


What is a c++ object?

1256


What is the difference between interpreters and compilers?

1272


Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c

1336


How do you initialize a string in c++?

1052


What is the difference between containment and delegation?

1400


What do you mean by overhead in c++?

1142


Differentiate between an array and a list?

1224


What type of question are asked in GE code writing test based on c++ data structures and pointers?

4030


What is a base class?

1177


What is the role of copy constructor in copying of thrown objects?

1117


Are there any special rules about inlining?

1132


What is an iterator class in c++?

1195


What is virtual table?

1174


How does c++ sort work?

1026