What is the value of m after executing the following code?

前端 未结 0 1950
天命终不由人
天命终不由人 2020-12-14 02:10

What is the value of m after executing the following code?

int n = 123456789;
int m = 0;
while (n != 0)
{
   m = (10 * m) + (n % 10);
   n = n / 10;
}
         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题