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
How does work in c++?
Which programming language's unsatisfactory performance led to the discovery of c++?
What is lvalue?
What are arithmetic operators?
What is the difference between while and do while loop? Explain with examples.
What is encapsulation in C++? Give an example.
What is #include cmath?
What is a multimap c++?
What is tellg () in c++?
Explain the difference between c & c++?
How do I write a c++ program?
What is istream c++?
Explain public, protected, private in c++?
What are put and get pointers?
What is the most common mistake on c++ and oo projects?