The masses of three electrodes $(\mathrm{A}, \mathrm{B},$ and $\mathrm{C})$, each from three different galvanic cells, were measured before and after the cells were allowed to pass current for a while. The mass of electrode A increased, that of electrode $\mathrm{B}$ was unchanged, and that of electrode C decreased. Identify each electrode as active or inert, and note (if possible) whether it functioned as anode or cathode.