Question QA-NUM-0009
MediumHow many zeros are at the end of 125! (125 factorial)?
- A.
28
- B.
31
- C.
Show answer and explanation
Answer: B
Trailing zeros come from factors of 5: ⌊125/5⌋ + ⌊125/25⌋ + ⌊125/125⌋ = 25 + 5 + 1 = 31.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Number System question
How many zeros are at the end of 125! (125 factorial)?
28
31
Answer: B
Trailing zeros come from factors of 5: ⌊125/5⌋ + ⌊125/25⌋ + ⌊125/125⌋ = 25 + 5 + 1 = 31.
25
30