/in/foo.cc: In function 'int main()':
/in/foo.cc:11:12: error: expected primary-expression before ']' token
Findmin(a[],n);
^
/in/foo.cc:11:15: error: 'Findmin' was not declared in this scope
Findmin(a[],n);
^
/in/foo.cc: In function 'void Findmin(int*, int)':
/in/foo.cc:15:9: error: 't' does not name a type
{static t=0;
^
/in/foo.cc:20:3: error: 't' was not declared in this scope
t=a[i+1],a[i+1]=a[i],a[i]=t;
^
/in/foo.cc:22:23: error: 't' was not declared in this scope
printf("min is %d\n",t);
^