Question: What is correct code in C? Write a function factorial that takes a positive integer as a parameter and returns the factorial of that integer.

What is correct code in C?
Write a function factorial that takes a positive integer as a parameter and returns the factorial of that integer. The main function takes an integer n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
