Hi Folks,
Is this datatype included in the Standards.
If yes,
1) what is the size of a long long int
2) What would be its format specifier w.r.t printf / scanf
Thanks in advance
Printable View
Hi Folks,
Is this datatype included in the Standards.
If yes,
1) what is the size of a long long int
2) What would be its format specifier w.r.t printf / scanf
Thanks in advance
Since you mention printf and scanf, I assume you mean in C
http://anubis.dkuug.dk/jtc1/sc22/wg14/www/docs/n869/
Post moved from C++ board to C board
>1) what is the size of a long long int
sizeof ( long long );
>2) What would be its format specifier w.r.t printf / scanf
That would be %lld in C99. C89 doesn't have long long as a standard type, so scanf/printf don't have flags for it.