The correct answer is: C. 18
The Rajya Sabha is the upper house of the Parliament of India. It is composed of 250 members, 238 of whom are elected by the elected members of the legislative assemblies of the states and union territories, and 12 are nominated by the President of India.
The number of seats allotted to each state is based on its population. Karnataka has a population of 61.1 million, which is the ninth largest in India. Therefore, it is allotted 18 seats in the Rajya Sabha.
The other options are incorrect because they do not correspond to the number of seats allotted to Karnataka in the Rajya Sabha.