-   Programming (
-   -   Is not 'long long' of 8 bytes in gcc? (

ishandutta2007 01-12-2010 08:34 AM

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,

long long v=1000;

the program continues to print negative value of v
even after 2^31-1.Why?

pixellany 01-12-2010 08:40 AM

This is a duplicate of your REPLY in your other thread. Please keep it in one thread. Duplicate closed

All times are GMT -5. The time now is 07:51 PM.