FIXED: test47.c use of uninitialized variable n