我有以下代码:
int ret() { int x = 010; int y = 4; int z = x | y; return z; }
当x = 010时,此函数返回12.但是,在将x更改为10时,将返回14.为什么会这样?
c++
c++ ×1