In that case, you need to join a reputed institute to update your programming skills. This will give you more knowledge and experience, along with a sense of freshness. Since you are still studying, you should not dwell on pursuing a teaching profession. Instead, focus on a field related to your educational background where you have good knowledge. The most important thing is that you are pursuing your Master's in Engineering and have an interest in it, I suppose.
By the way, let me reiterate my question: why do you want to pursue teaching? What made you feel that way? You mentioned that MNCs are not hiring Bachelor of Engineering graduates, but we both know that you are not a BE candidate anymore; you are doing your ME. You simply need to enhance your skills, as you have been out of touch with it for a long time, right? Consider joining a reputable institute for evening classes or at a time that suits you, but make sure to do it.