pow() c
snippet in c

pow() c

user3770

int base = 3;
int power = 5;
pow(double(base), double(power));

pow() c

user6492

[Mathematics] xy = pow(x, y) [In programming]

power func in c

user6409

The function pow() is used to calculate the power raised 
to the base value. It takes two arguments. It returns the
power raised to the base value. It is declared in 
“math.h” header file.