Main.cc: In function 'int main()':
Main.cc:8:10: error: invalid use of non-lvalue array
f+=a;
^
Main.cc:8:10: error: in evaluation of 'operator+=(int, int [5])'
Main.cc:10:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Wformat=]
printf("%.2d",d);
^