Type prefixes: l (lower case l) : printf Type prefixes « printf scanf « C Tutorial






appear before type-identifiers d, i, o, u, x, and X.

display value as long, for example, long integer (ld) and long unsigned integer (lu).

#include <stdio.h>

main(){
    int f = 999999999;
    printf(" %lu \n",f);
}
10000








4.18.printf Type prefixes
4.18.1.Type prefixes: h
4.18.2.Type prefixes: l (lower case l)
4.18.3.Type prefixes: L (upper case L)