Write a C program to find power of a number using for loop. How to find power of a number without using built in library functions in C program. Logic to find power of any number without using pow() function in C programming.
Example
Input
Input base: 2 Input exponent: 5
Output
2 ^ 5 = 32