In my University (IIT-D), I believe certain scholarship announcements revealed details about students' categories, ie whether they were SC/ST/OBC/General. Especially if it were a means scholarship.
Worse case, professors in India have zero personality training, and will casually ask such questions of their students.