The correct option is C 32
Let the balls be a, a, a, a, a, b1, b2, b3, b4, b5. The number of ways of selecting r identical balls is one. The number of ways of selecting 5-r balls from the 5 different balls is (55−r)=(5r) The desired number is 5∑r=0(5r)=25=32