The general format of a function is
{
local definitions;
statements;
Return value;
}
#include
int f1 (int j, int f){
int k;
k = j + f;
return k;
}
main(){
int i=3;
int j = 6;
int k = f1(i,j);
printf("%d",k);
}
9