无意中发现了 跪求牛人前来解释
#include <iostream> using namespace std; int main() { int n = 5; int a[n]; a[1] = 7; cout<< a[1] << endl; return 0; }
#include <iostream> using namespace std; int main() { int n = 5; int a[n]; a[1] = 7; cout<< a[1] << endl; return 0; }