Answer: C
Protonation at O gives CHX3C(OH)=NHX2X+, a resonance-stabilised cation in which the positive charge is shared by O and N. Protonation at N would leave the N lone pair unavailable for conjugation and the cation would be unstabilised, so O-protonation is favoured.