0_0_38154874_3325.cpp: In function 'int main()': 0_0_38154874_3325.cpp:24:28: error: invalid types 'int[int]' for array subscript printf("%d\n", a[num - 1]); ^