我不知道为什么会这样!想知道原因.
{
int i=01;
printf("%d\n",i);
}
output: 1
Run Code Online (Sandbox Code Playgroud)
但
{
int i=011;
printf("%d\n",i);
}
output: 9
Run Code Online (Sandbox Code Playgroud)
有人有答案吗?
| 归档时间: |
|
| 查看次数: |
247 次 |
| 最近记录: |