Like if I defeated a bidoof with salamence and magikarp is holding a exp share. Do both salamence and magi gain 1 hp ev and exp?
Yes, the magikarp and salamence would both gain the EV's. Source: http://bulbapedia.bulbagarden.net/wiki/EV
Yes, EVs are gained while holding an Exp Share. Source