The number of ways in which n identical objects can be distributed into r distinct groups such that groups can be empty is
a. n+r-1Cr
b. n+r-1Pr
c. n+r-1!
d. n+r-1Cr-1