MCQ Answer

Which variable must be initialized to 1 in the algorithm for factorial computation?

Which variable must be initialized to 1 in the algorithm for factorial computation?

Factorial computation के algorithm में कौन-सा variable 1 से initialize किया जाना चाहिए?
Topic : Algorithm and Flowcharts to solve problems

A. Counter

B. Factorial value

C. Input number

D. Loop limit




Correct Answer is :

B. Factorial value



Explanation
The factorial accumulator starts at 1 because 1 is the multiplicative identity.

Factorial accumulator को 1 से initialize किया जाता है क्योंकि multiplication की identity 1 है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad