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