Hello everybody,
I want to ask: when do i really need to use Suffix for numbers.
I will give an example:
let say I write:
[code]
long long c;
[code/]
the variable c is of long long type. When I want to initiate its value,
shoule I write:
[code]
c = 12;
[code/]
when I write it like this, the compiler recognizes that c is a long long type and if I do:
[code]
printf("%d",sizeof(c));
[code/]
I get the result of 8...which is of course 64 bit. so the compiler actually remembers that c is long long type.
but I saw some cases (especially in java) that I actually need to force it to be long long by means of c = 12LL, like this next example:
[code]
c = 12LL;
[code/]
now..I am sure some of you think: why wouldn't I just use a normal int for that purpose, but I have a specific reason that I need to use long long variables.
Thx.