True, Gulshan, but if one wants to study Sanskrit, there is no dearth of career options for Sanskrit too. My maternal aunt and her husband are both Sanskrit scholars and they are invited every summer to teach Sanskrit in many universities in USA and Germany.
As a matter of surprise, my aunt tells me that the number of students learning Sanskrit, not just basic, but high PhD. level, is more in Germany than in India! :) :) :)
Not just teaching, there is a huge demand of Sanskrit scholars to study and translate into common languages our amazing range of ancient Sanskrit scriptures so that knowledge is made available to everyone.
Every language or subject needs teachers. So prospects in teaching only has hardly any significance. However, Sanskrit has some other scope also. The ancient literature, knowledge, astrology, theology, mathematics- infact all ancient Indian knowledge is in Sanskrit. Hence if some body is interested in religion, scriptures, literature, history etc, Sanskrit might be excellent to him. But this will depend on aptitude and interest of the person. On the whole, modern languages like Spanish, French, Chinese have greater scope.