Main.cc: In function 'int main()': Main.cc:14:20: error: invalid types 'int[int]' for array subscript cout << n[i] << " "; ^