int mul (int a, int b);main(){ int a, b, c; a = 5; b = 10; c = mul (a,b); printf ("multipilcation of %d and %d is %d",a,b,c);} int mul (int x, int y)
{ int p; p = x*y; return(p); }
You opened a brace after the first statement "int p;", where it should be after the function begins(before the statement). The entire function should be wrapped inside the braces.
int mul (int x, int y){ int p; p = x*y; return(p);}
int mul (int x, int y){
int p; p = x*y; return(p);}