What would the C code display? -


possible duplicate:
reason output

hi,

can please explain me output of code snippet? answer "d"

void main() { short int a=5; clrscr(); printf("%d"+1,a); getch(); } 

thanks.

"%d" + 1 pointer "d", in fact executing printf( "d", );.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -