exponential power in C code example
Example 1: pow in cpp header file
#include<cmath> //header file for pow fun
pow(a,b) // a^b
Example 2: power func in c
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.