#include<stdio.h>
#include<conio.h>
//function definition power
int pow(int a,int n)
{
if(n==0)
return 1;
else
return a*pow(a,n–1);
}
void main()
{
int a,n,p;
printf(“Enter number and it’s power”);
scanf(“%d%d”,&a,&n);
p=pow(a,n); //function calling
printf(“result=%d”,p);
getch();
}
It's the best
Good
This comment has been removed by the author.
Very nice
π€π€….NICE BLOGS..
NICE BLOG RAJNISH SIR .
SHAILESH KUMAR.
Very good sir
ππ
Bahoot khub sir
it help me thanks
ππππ
Excellent
Veri nice ππand all the best