C program to calculate X^N (X to the power of N) using pow function
pow() is used to calculate the power of any base, this library function is defined in math.h header file. In this program we will read X as the base and N as the power and will calculate the result (X^N - X to the power of N).
pow() function example/program to calculate X^N in c program
Output
need an explanation for this answer? contact us directly to get an explanation for this answer