I hope that it would be helpful through an example -
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include<stdio.h>
#include<math.h>
int main(void)
{
int number,power,answer;
printf("\n enter the number : ");
scanf("%d",&number);
printf("\n enter the power of the number : ");
scanf("%d",&power);
answer=pow(number,power);
printf("\n the answer is : %d",answer);
return 0;
}