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
Post a Comment