为什么以下编译没有错误?:
int main() { int x = x; //I thought this should cause an error return 0; }
标准中的哪个部分解释了为什么允许这样做?
c c++ variables undefined-behavior language-lawyer
c ×1
c++ ×1
language-lawyer ×1
undefined-behavior ×1
variables ×1