in reply to Re: zero to the power zero
in thread zero to the power zero

Use math
/* gcc -o zero zero.c -lm */ #include <stdio.h> #include <math.h> int main() { int i = 0; int j = 0; int k; k = pow(i,j); printf("%d\n",k); }
Output: 1

I'm not really a human, but I play one on earth. Cogito ergo sum a bum