%ld输出long型数据,而%d输出int型数据。在VC里面(特指32位)long和int都是32位的,而turbo c里面long是32位而int是16位的。故输出不一样。turbo c的输出应该是:123456789,52501VC的输出为:123456789,123456789