pls help Error "function 'rec' should have a prototype"
Posted on 2004-08-13
please help me to fix this problem. i will be really thankful to you.
Every time when I write some program using functions i got this error message."function 'XXX' should have a prototype."
below is one of the program that i wrote using functions, and got the same error message,
"function 'rec' should have a prototype."
Please considor i am new in 'C' so please explain in a simple way. thanks
printf ("\n Enter any number");
printf ("Factorial value = %d",fact);