Based on current market trends Computer Science Engineering has more scope and better placement opportunities. With all these new startups and MNC’s coming to India CSE is a branch where you want to be in coming 4-5 years. Mechanical Engineering has its own perks, a career in ME allows you to build a better future for you, and for the world. ME might not provide you a high paying job initially, but over the time with your experience you can grow.
Both the branches have scope and it all depends on your dedication and if you are ready put efforts towards making your fundamentals strong in CSE, then its really hard for people from other branches to catch up with your package. But with bigger pay-check comes more stress, pressure and responsibilities. So choose wisely, take some time and think what motivates you the most.
Try to figure out your passion, because when profession gets tougher, its the passion that keeps you going. You can also checkout: https://edudrona.com/passion-versus-profession/ to get a better insight about what I am taking about.
If you still need any guidance you can reach out to me, my details are mentioned in my profile. Best of luck!