when "%d" is used to format 64bit integer, it will introduce interesting behavior.
__int64 a = 1, b=2;
char buf[128];
sprintf(buf, "%d, %d.", a, b);
when "%d" is used to format 64bit integer, it will introduce interesting behavior.
__int64 a = 1, b=2;
char buf[128];
sprintf(buf, "%d, %d.", a, b);