Let M be abelian group and N be its subgroup . Now suppose We want to show any Hom(N,Q/Z) restriction of some Hom(M,Q/Z).
Attempt: Define f: M→ Q/Z as f(x) if x belongs to N and 0 if it does not. Clearly this is homomorphisam for M but if we restrict it then how to show that for this restriction of Hom(M,Q/Z) represent any Hom(N,Q/Z)?
Use the proof of Baer's criterion, i.e. apply Zorn's lemma to the poset $\{(N', \varphi) \mid N \subseteq N' \subseteq M, \varphi \in \operatorname{Hom}(N',\Bbb Q/\Bbb Z), \varphi|_M = g\}$ where $g$ is your homomorphism $N \to \Bbb Q/\Bbb Z$.