Main.cc: In function 'int main()': Main.cc:7:10: error: invalid operands of types 'int [5]' and 'int' to binary 'operator/' }d=a/5; ^ Main.cc:4:13: warning: unused variable 'b' [-Wunused-variable] int a[5],d,b[5]; ^