C Program to Calculate the Power of a Number

Example on how to calculate the power of a number if the exponent is an integer. Also, you will learn to compute the power using pow() function.
Power of a number

To understand this example, you should have the knowledge of following C programming topics: