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 difference between a "copy constructor" and an "assignment operator" in C++?
What is insertion sorting?
What are function prototypes?
What is the function to call to turn an ascii string into a long?
What is a node class in c++?
Which bit wise operator is suitable for turning off a particular bit in a number?
Is c++ low level?
Can a new be used in place of old mallocq? If yes, why?
What is a list c++?
What do you mean by global variables?
List the special characteristics of constructor.
Is it possible for a member function to delete the pointer, named this?
What is std namespace in c++?
Why c++ is better than c language?
How can I learn dev c++ programming?