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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -