how to do pow in c code example Example: pow() c int base = 3; int power = 5; pow(double(base), double(power));