#include<bits/stdc++.h> using namespace std; int main(){ int a[]={0,1,2,3},k=3; cout<<1[a]<<" "<<a[2]<<" "<<k[a]; return 0; }
编译通过,输出 1 2 3。
1 2 3