Is not 'long long' of 8 bytes in gcc?
Both 'long long' and 'double' are 64 bit data types in gcc but
why can't I insert a value greater than 2^31-1 (ie 32bit)
in a long long type variable.
secondly in the following code,
Code:
long long v=1000;
while(v++>=0){
printf("\n%lld",v);
}
the program continues to print negative value of v
even after 2^31-1.Why?
|