In the following question, some parts of the sentence have an error and some are correct. Find out which part of a sentence has an error. If a sentence is free from error, your answer is (d).
By the time she had finished her work (a)/ I had nearly given up (b)/all hope of arriving at the part in time. (c)/ No error (d)
By the time she had finished her work
I had nearly given up
all hope of arriving at part in time
No error
A.
By the time she had finished her work
Remove 'had' from first part of the sentence, i.e. By the time she finished her work should be used.