The correct option is C Cu2+
Cu2+ ions react with sodium hydroxide to form a blue precipitate of cupric hydroxide.
Cu2++2NaOH→Cu(OH)2↓+2Na+
Ba2+, Mg2+ and NH+4 ions react with sodium hydroxide solution to form white precipitates of barium hydroxide, magnesium hydroxide, and ammonium hydroxide, respectively.