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 meant by const_cast?
What's the most powerful programming language?
What is an object in c++?
Write a program to find the Factorial of a number
Which programming language is best to learn first?
What is constructor in C++?
Why cstdlib is used in c++?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
What is the main function c++?
What is the difference between the functions rand(), random(), srand() and randomize()?
What is a c++ class?
Is c++ a pure oop language?
Where Malloc(), Calloc(), and realloc() does get memory?
What is a pointer with example?
Can you sort a set c++?