C Program To Find Factorial of a Number using Function

preview_player
Показать описание

Write a function to calculate the factorial value of any integer entered through the keyboard.

Factorial of a number is the product of all the numbers preceding it. For example, Factorial of 6 is 720 (1 x 2 x 3 x 4 x 5 x 6 = 720). i.e., !6 = 720.

By convention, 0! = 1.

C Programming Interview / Viva Q&A List

C Programming: Beginner To Advance To Expert
Рекомендации по теме
Комментарии
Автор

I find it very useful as I don't knew from where to copy the input number to function. Thanks 🤞

vishalmajhi
Автор

I don't know why I am unable to understand these programs specially these loops, can you please help me

iramkhan