In which sentence is the word but used as a preposition?
A. None but the brave shall enter in.
B. Children should be seen but not heard.
C. We would like to visit the Grand Canyon, but our vacation time is up.
D. John liked baseball but not football.