This is very unfortunate that salary is the sole criteria for you to choose a carrer for yourself. You have no clue about your own interest, vision...
Just to let you know in my company my senior CS (my boss) is holding top mgt position and 7 chartered Accountant are reporting to him and in the team 3 chartered Accountants are reporting to me only. There is no need to say that they are drawing much less than us. But we all are gud friends and there is almost no boss-employee relationship.
In the next company position may be reverse like you have mentioned so the criteria is not the salary or position but your own attitude and vision to contribute to the growth of your company.
So open your eyes and explore yourself and your interest to excel in life.
Rgds
RG