This is your original program, made workable in TC AND in a modern C compiler. Note that the double quote char used in the print line, used angled double quotes, instead of straight ones. Angled double quotes simply do not work in any C compiler.
Code:
#include <stdio.h>
int mul (int x, int y); //prototype of the function
int main ()
{
int a, b, c;
a = 5;
b = 10;
c = mul (a,b);
// Note that double quotes char is " NOT “ or ” those are NOT OK!
//printf (“multiplication of %d and %d is %d”,a,b,c); <-----NOT GOOD!
printf ("multiplication of %d and %d is %d\n",a,b,c);
return 0;
}
int mul (int x, int y)
{
int p;
p = x*y;
return(p);
}