In an election, the number of candidates is one greater than the persons to be elected. If a voter can vote in 254 ways, the number of candidates is
7
10
8
6
Let there be n candidates. Then
nC1+nC2+⋯+nCn−1=254⇒2n−2=254 or 2n=28 or n=8