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
What are the two main components of c++?
How a modifier is similar to mutator?
What is the difference between a "copy constructor" and an "assignment operator" in C++?
Can we declare a base-class destructor as virtual?
What is virtual destructor ans explain its use?
What is an adaptor class in c++?
What is c++ hash?
What are the four partitions in which c++ compiler divides the ram?
What are the uses of typedef in a program?
What is the use of :: operator in c++?
Why #include is used?
What are proxy objects in c++?
What is c++ iterator?
Can manipulators fall in love?
Describe the process of creation and destruction of a derived class object?