0_0_37172074_14441.cpp: In function 'int main()': 0_0_37172074_14441.cpp:43:13: error: 'idx' was not declared in this scope print(a[idx]); ^