The Standard Library provides the pow() functions (declared in <math.h>) which takes two arguments of type double, x and y: double powl(double x, double y);
pow() returns the value calculated of x to the power of y. For example:
double x = 100, y = 4;
double result = pow(x, y); // result equals 100,000,000