How to calculate power of a number using C Program