Program to find power of number using C