c - What does a number argument in printf without quotes do? -


what number argument in printf without quotes do?

e.g. printf( 3 + "goodbye"); results in output dbye. why output?

3 + "goodbye" equivalent &"goodbye"[3] - in other words it's pointer fourth element of "goodbye" , example print "dbye".


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -