在以下代码中:
void main()
{
char a[]={1,5,3,4,5,6};
printf("%d\n",*(a++)); //line gives error: wrong type argument to increment
printf("%d\n",*(a+1));
}
Run Code Online (Sandbox Code Playgroud)
第4行和第5行之间有什么区别.我没有收到第5行的任何错误或警告.
在3.9.6中找不到VM_RESERVED常量和nopage方法(in vm_operations_struct).它们在3.9.6中的替代品是什么?
int main()
{
char boolean[][6]={"TRUE","FALSE"};
printf("%s",boolean[(unsigned int)-1 == ~0]);
}
Run Code Online (Sandbox Code Playgroud)
执行后,我认为它为FALSE.是什么原因?