• C

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?
btocakciAsked:
Who is Participating?
 
imladrisConnect With a Mentor Commented:
Use %ld
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.