Q. Write a program to find the power of number using function.
/* ###########################
Girfa : Student Help
for more program visit : http://girfahelp.blogspot.in/p/c-language.html
Power of a number using function
############################
*/
#include<stdio.h>
#include<conio.h>
int power(int,int);
void main()
{
int n,p;
clrscr();
printf("Enter number>>
");
scanf("%d",&n);
printf("Enter Power>>
");
scanf("%d",&p);
printf("\n\nPower of %d by %d
is %d",n,p,power(n,p));
getch();
}