Choose the sentence that is grammatically correct.
AHaving finished the examination, the scripts were collected by the invigilator.
BHaving finished the examination, the invigilator collected the scripts from the candidates.
CHaving finished the examination, it was time for the invigilator to collect the scripts.
DHaving finished the examination, the candidates handed their scripts to the invigilator.CORRECT