The correct option is C 40C2
If you choose any number between 1 and 100 and call it x , you can choose any number between x+1 and x+10 , which gives us 10 choices for each.
If you choose 91 , for example, we have 9 numbers to choose (i.e. 92 to 100 )
Similarly, 93 gives us 8 choices, 94 gives us 7 , and so forth, until 99 gives us only 1 choice.
Hence, (90×10)+9+8+7++1=945=10C2−9C2