New course! Every coder should learn Generative AI!
Try a free lesson+ 1
See in integer data type we have long int also.So for using the long integer which is some 10 characters long,we use %ld.
Hope you got this.You can futher refer Google to understand it more clearly.