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
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
Have a wonderful day.... and keep smiling... you look terrific that way
signing off...
shiv... as i know him
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
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
>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.
My best code is written with the delete key.