0_0_29785130_3215.cpp:5:10: error: 'a' was not declared in this scope
int fun(a,n)
^
0_0_29785130_3215.cpp:5:12: error: 'n' was not declared in this scope
int fun(a,n)
^
0_0_29785130_3215.cpp:5:13: error: expression list treated as compound expression in initializer [-fpermissive]
int fun(a,n)
^
0_0_29785130_3215.cpp:6:1: error: expected ',' or ';' before '{' token
{int i,sum=0;
^
|