Motion blur with C programming

Hello,
For an assignment, I have made a tree animated with falling fruit. I want to know how to make the falling fruit have motion blur. There are many ways for it, however I prefer the easiest way to implement it, and with what functions?

Thank You,
Mike

Please, DON’T CROSSPOST.