prog.cpp: In function 'int ser()':
prog.cpp:5:15: error: expected primary-expression before ']' token
a = sizeof(a[]);
^
prog.cpp:6:16: error: invalid types 'int[int]' for array subscript
b = sizeof(a[0]);
^
prog.cpp:10:17: error: invalid types 'int[int]' for array subscript
sum = sum + a[i];
^
prog.cpp: In function 'int main()':
prog.cpp:15:24: error: initializer fails to determine size of 'a'
int a[]=(34, 32, 54, 88);
^
prog.cpp:15:24: error: array must be initialized with a brace-enclosed initializer