I've been trying to use the below code and anything inside the solution block doesn't show up. Any idea why?
\documentclass{exam}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{amsthm}
\begin{document}
\begin{questions}{}
\question test q?
\begin{solution}
test ans
\end{solution}
\end{questions}
\end{document}
\documentclass[answers]{exam}
.