• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 202
  • Last Modified:

how to printf a long int

hi! i try to print a long int by %d but i get a 0, not 45562 for example. how to fix it?
0
btocakci
Asked:
btocakci
1 Solution
 
imladrisCommented:
Use %ld
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now