/in/foo.c:1:1: error: stray '##' in program
##include <iostream>
^~
/in/foo.c:1:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
##include <iostream>
^
/in/foo.c: In function 'Output':
/in/foo.c:8:3: error: 'cout' undeclared (first use in this function)
cout<<a[i]<<" ";
^~~~
/in/foo.c:8:3: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c:9:8: error: 'endl' undeclared (first use in this function)
cout<<endl;
^~~~
/in/foo.c: In function 'main':
/in/foo.c:29:16: error: 'cin' undeclared (first use in this function)
int i, n1,n2; cin>>n1>>n2;
^~~
/in/foo.c:33:2: error: 'cout' undeclared (first use in this function)
cout<<FindMin(a,n1)<<" ";
^~~~
/in/foo.c:35:23: error: 'endl' undeclared (first use in this function)
cout<<FindMin(b,n2)<<endl;
^~~~