Hii Naveen Amutha..
Ofcourse you can do MS in petroleum engineering after Btech in mechanical engineering.
But be careful that some of the universites doesnot take the different background students. So before applying check the university website for the eligibilty criteria.
Hope this helps you. All the best.
Candidates can check B.Tech Cut off for Top IITs & NITs here.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile