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...

simple c++ program for "abcde123ba" convert "ab321edcba"
with out using string

Answer Posted / sandeep

#include<iostream.h>
#include<string.h>
int main()
{

char a='abcde123ba';
strrev(a);
cout<<a;
getch();
return 0;
}

Is This Answer Correct ?    2 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is polymorphism in c++? Explain with an example?

1021


an operation between an integer and real always yeilds a) integer result b) real result c) float result

1141


What is c++ namespace?

1194


How a pointer differs from a reference?

1320


When can I use a forward declaration?

1081


What are the uses of static class data?

1171


What is the latest c++ version?

1094


How is data hiding achieved in c++?

1071


How new/delete differs from malloc()/free?

1132


Write a program to encrypt the data in a way that inputs a four digit number and replace each digit by (the sum of that digit plus 7) modulus 10. Then sweep the first digit with the third, second digit with the fourth and print the encrypted number.

2573


Explain how functions are classified in C++ ?

1213


What is pure virtual function? Or what is abstract class?

1042


Evaulate: 22%5 a) 2 b) 4 c) 0

1080


What is the use of turbo c++?

1042


Why struct is used in c++?

1112