On a quiz a student answered 16 questions correctly this was 80% of the questions on the quiz how many questions were on the quiz?

A. 18
B. 20
C. 24
D. 38