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