Q2 Write a function power (a, b), to calculate the value of a raised to b.
Program: 123
Write a function power (a, b) in c language, to calculate the value of a raised to b.
Output:
Enter a: 2
Enter b: 3
Result: 8
Write a function power (a, b) in c language, to calculate the value of a raised to b.
Enter a: 2
Enter b: 3
Result: 8