If you’re a vegetarian staying in tourist-class hotels you should have no problems, as there’s usually a meat-free pasta dish, or various egg-based dishes. In more expensive establishments, vegetarian cooking is taken seriously, with creative options increasingly available that are more just stodge. If you’re on a strict budget you’ll gravitate to Indian vegetarian restaurants in the larger towns where you can often eat well and cheaply. Otherwise, it can be tricky, because meat is the conventional focus of any meal not eaten at home, and hotelis rarely have much else to accompany the starch; even vegetable stews are normally cooked in meat gravy.
If you’re a vegan, you’ll find there are nearly always good vegetables and lots of fruit at safari lodges and the more expensive hotels. Once again, where you’ll struggle is if you’re on a strict budget and eating local restaurant food.