为什么:
int test() { return 00101 % 10; }
返回5,同时:
5
int test() { return 101 % 10; }
回来了1?我想不出一个解释.
1
c++ modulo
c++ ×1
modulo ×1