Write a function pow() which takes two integer parameters a and n and returns nth power of a, write a program to use this function. code example
Example: 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.