Synopsys Interview Question

Write a function that calculates a^b % c.