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

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -