1000000..............0000
−99
.............................................
99999...................9901
............................................
The result is a 99 digit number having 97 nines followed by a zero and 1.
∴ The sum of the digits =(97×9)+0+1
=874