I bought sams Teach yourself c in 21 days about 10 years ago, I have the fifth edition of the book, I'm having some trouble with the following code

when I execute I DO NOT Get 81 and 19683, I get the followingCode:#include <stdio.h> int three_powered( int power ); main() { int a = 4; int b = 9; printf ( "\n3 to the power of %d is %d", a, three_powered ); printf ( "\n3 to the power of %d is %d", b, three_powered ); return 0; } int three_powered ( int power ) { if ( power < 1 ) return( 1 ); else return( 3 * three_powered( power - 1)); }

3 to the power of 4 is 4198888

3 to the power of 9 is 4198888

Is this an error in the code in the book or in my own iteration of it? please advise