/* ECP: FILEname=fig11_18.c */ /* 1*/ void /* 2*/ PrintInOrder( const Tree T ) /* 3*/ { /* 4*/ if( T != NULL ) /* 5*/ { /* 6*/ PrintInOrder( T->Left ); /* 7*/ if( T->Count ) /* 8*/ printf( "%s occurs %d times\n", T->Item, T->Count ); /* 9*/ PrintInOrder( T->Right ); /*10*/ } /*11*/ }