When will APR of a credit card be equal to its APY?

A.) When interest compounds daily
B.) When interest compounds monthly
C.) When interest compounds quarterly
D.) When interest compounds annually