Skip to content

Instantly share code, notes, and snippets.

@ravi-ojha
Created May 18, 2013 15:09
traditional way to find base to the power
int result = 1
for(i=0;i<10;i++)
{
result = result*2;
}
printf(" %d",result);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment