i did in TC. and i wrote printf("%d",m);
oh i should try %ld, is this the prob. let me check it on visual studio