Which formula represents how Ad Rank is determined on Google search?

Which formula represents how Ad Rank is determined on Google search?

A) Historic average position of each ad
B) Popularity of the website being advertised
C) Maximum cost-per-click (CPC) multiplied by Quality Score
D) How much an advertiser is willing to spend each day.

Answer: C