simple c++ program for "abcde123ba" convert "ab321edcba"
with out using string
Answer Posted / abdelrhman matter
#include<iostream>
using namespace std;
int main ()
{
cout<<" insert Any number and i will switch it : ";
int num; cin>>num;
do
{
cout<<num%10;
num = num/10;
}while(num>0);
cout<<endl;
return 0;
}
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is the use of structure in c++?
What are c++ stream classes?
Explain this pointer?
Is eclipse good for c++?
What is the difference between a baller and a reference in C++?
How would you call C functions from C++ and vice versa?
What is the best c++ ide?
What is the rule of three?
What is the function to call to turn an ascii string into a long?
What do you mean by function pointer?
Why do we use templates?
Is overriding possible in c++?
Where are setjmp and longjmp used in c++?
What do you mean by enumerated data type?
Which is better turbo c++ or dev c++?