How to work c printf() function