I've got a question about using suffix for numbers in C.
Example:
long long c;
The variable c is of long long type. To initiate its value, I do (usually)
c = 12;
When done like that, the compiler recognizes c as a long long type.
Then, if I do
printf("%d",sizeof(c));
the result is 8 - which of course is 64 bit. So the compiler remembers that c is of long long type.
But I've seen some examples where I need to force the type to be long long, by doing
c = 12LL
Why is that?