Update main.c

debug the printf function