How do I print a long integer?

Use the "%ld" format:

      long int l = 70000L;

      printf("%ld", l);


Learn More :