0
Whats the output of this code.
compiler unable to run it https://code.sololearn.com/co9R40wEe2gH/?ref=app
1 Odpowiedź
+ 9
#include <iostream>
using namespace std;
int main()
{
long number=5572331,result=0;
do
{
result*=10;
int digit=number%10;
result +=digit;
number/=10;
}
while(number);
cout <<"output="<<result<<endl;
}