----- "Thomas B. Jablin" <tjablin at CS.Princeton.EDU> wrote: > > int power(int (*func)(int), int x, int n) { > int i; > for (i = 0; i < n; i++) { > x = power(x); > } > return x; > } > Sorry, the body of the loop should read: x = func(x); Tom