Dear Karan ,
Both the options that you have mentioned are equally good in terms of placemnts nd salry ...
electrconics is Design and building electronic circuits based on the flow of charge through different materials and mechancal is Design and develop machines based on the knowledge of movement and the power / energy that is involved.
Also elctronics engineer mostly placed in Consumer electronics , Telecommunication, IT, Health care, Other public sector industries like petroleum, steel and chemical etc.. and Mechanics involved jobs Manufacturing, Automobile , Power, Aeronautical, Biotechnology.. So here i wud advise u clear ur mind and think of what u love best. dont compromise on that coz u got to live with it all ur life!
Click the link below link for opening and closing rank of IIT :
Please feel free to post as many doubts on our disucssion forum as you can. We are all IITians and here to help you in your IIT JEE preparation.
All the best!!