Data Structures & AlgorithmsVery hardGATE CS · ICPC regional

What is the sum of the decimal digits of 100!?

  1. A. 649
  2. B. 648
  3. C. 650
  4. D. 652

Correct answer: B. 648

100! is a 158-digit number whose digit sum is 648. Computing the factorial exactly and summing the digits is the direct route.

More Arrays, Strings, Linked Lists, Stacks, Queues and Hashing questions

Exams that ask this topic