see
in electrolysis of aq NaCl, Cl2 is evolvd at anode bcoz the discharging potential of OH- is greater thn tat of Cl-
so discharging tendency of Cl- is more
O2 will b evovld at anode wen the soln is vry dil.....coz thn the concentration of OH- will b more