在c中编译2 [c]会发生什么?

时间:2018-12-04 04:05:37

标签: c

#include <stdio.h>
int main(){
    int c[3]={1, 2, 3};
    printf("%d, %d\n", c[2], 2[c]);
}

代码给出3、3作为输出。 编译2 [c]会发生什么?编译器如何知道它的类型?语法如何保存?

0 个答案:

没有答案