C++ int with preceding 0 changes entire value

后端 未结 4 879
春和景丽
春和景丽 2020-11-30 15:49

I have this very strange problem where if I declare an int like so

int time = 0110;

and then display it to the console the value returned i

4条回答
提交回复
热议问题