what would be the recursive implementation of the following c program:
int fact(int n)
{
if (n == 0) return (1);
else return(n*fact(n – 1));
}
shopnobhumi 0 Light Poster
gusano79 247 Posting Shark
shopnobhumi 0 Light Poster
Max.mx 0 Newbie Poster
shopnobhumi 0 Light Poster
gusano79 247 Posting Shark
marcel222 0 Newbie Poster
eng.ehsan07 0 Newbie Poster
eng.ehsan07 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.