use pow in c code example
Example 1: pow() c
int base = 3;
int power = 5;
pow(double(base), double(power));
Example 2: c power operator
result = (int) pow((double) a,i);
int base = 3;
int power = 5;
pow(double(base), double(power));
result = (int) pow((double) a,i);