Is there any other (alternative) format specifiers for long long
in C other than %lld
which can be safely used in scanf
under gcc?
I am aware that %lld
does it's job fine; I am just inquisitive :-)
Is there any other (alternative) format specifiers for long long
in C other than %lld
which can be safely used in scanf
under gcc?
I am aware that %lld
does it's job fine; I am just inquisitive :-)
From C99, "ll (ell-ell) Specifies that a following d, i, o, u, x, or X conversion specifier applies to a long long int or unsigned long long int argument; or that a following n conversion specifier applies to a pointer to a long long int argument." So you can use "%lld" to specify long long datatype.