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
Explain differences between alloc() and free()?
What are structures and unions?
Is c++ a good first language to learn?
Explain the virtual inheritance in c++.
Can I learn c++ as my first language?
What is function prototyping? What are its advantages?
What is ios in c++?
What is rvalue?
What are friend functions in C++?
What is the difference between method overloading and method overriding in c++?
When should I use unitbuf flag?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What is the difference between while and do while loop?
What is setfill c++?
How can you quickly find the number of elements stored in a static array?