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.

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

Power of a number