Giving this kind of advice is very difficult, mostly because it is impossible for us to predict the future. There are so many variables in what you will earn and what job you will find that it is not a question we can really answer. Being from the US, I am unfamiliar with the job market in India, however if you really feel that you would be more skilled as a mechanical engineer then it is worth considering whether that would be a better choice. Consider whether you think a top notch mechanical engineer would make more than a mediocre electrical engineer. Which one would you choose to be? If you are worried about supporting a family and flexibility then I believe computer engineering may offer more opportunities to work from home, but again, that is very job-specific. Hope that helps a little.