_____ in the queue for an hour,Tom suddenly realized that he had left his wallet at home.
#103270
A
To wait
B
Have waited
C
Having waited
D
To have waited