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 is the difference between set and map in c++?
Name the implicit member functions of a class.
Explain the virtual inheritance in c++.
Where is atoi defined?
What are the manipulators in c++?
What is the limitation of cin while taking input for character array?
Why can templates only be implemented in the header file?
Can you overload the operator+ for short integers?
How compile and run c++ program in turbo c++?
What is std :: flush?
which operator is used for performing an exponential operation a) > b) ^ c) none
Why should we use null or zero in a program?
Is java easier than c++?
Evaluate as true or false: !(1 &&0 || !1) a) True b) False c) Invalid statement
Is main a class in c++?