How do I print a long integer? Use the "%ld" format: long int l = 70000L; printf("%ld", l); Learn More : Share this Share on FacebookTweet on TwitterPlus on Google+