Find out whether there is any grammatical error in below sentence.
If I had known / this yesterday / I will have helped him
A. If I had known
B. this yesterday
C. I will have helped him
D. No error
Answer: Option C

had + v3 ->would have +v3 is the solution