Technicalsymposium.com-Free Email Alerts


Enter Your Email :

Important Note:Login & Check Your Email Inbox and Activate Confirmation Link

Subscribe & Get All Fresher Jobs Information & Study Materials PDF and Projects- Free Download

Data Structure Programs PDF


Pointers in C


Tech Interview in Datastructure



Data Structure Programming & Projects PDF- Free Download

raising 2 to the power of n

void main()
{
int pow(int);
int n,p;
clrscr();
printf("\n\n\t\tFINDING 2^N\n\n");
printf("\t\tEnter the Number : ");
scanf("%d",&n);
p=pow(n);
printf("\n\tpow(2,%d) = %d ",n,p);
getch();
}
int pow(int n)
{
if(n==0)
return 1;
else
return(pow(n-1)+pow(n-1));
}

 

Download All Data Structure Study Materials & ebook PDF



Data Structure