/in/foo.cc: In function 'void fun1(int, int, int*)':
/in/foo.cc:27:17: error: return-statement with a value, in function returning 'void' [-fpermissive]
if(m>n) return 0;
^
/in/foo.cc:33:9: error: return-statement with a value, in function returning 'void' [-fpermissive]
return k;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:43:24: error: 'O' was not declared in this scope
k=fun1(a[i],a[i+1],b[O]);
^
/in/foo.cc:50:28: error: 'prinff' was not declared in this scope
if(j%10==0) prinff("\n");
^