Hello aspirant!
Both branches are good(Mechanical or CSE) in terms of their aspects.If you want make carrer in the private sector and interested in coding and mathematics then CSE is good.If you want to make career in the government sector and deep interest in physics(mechanics) then mechanical is good.For master's programme you can give gate exam and do Mtech programme in CSE or mechanical.
Hope it answer your concerns.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile