It seems that long int on 32 bit is 4 bytes on my 32 bit machines with
gcc and on my 64 bit machine is 8 bytes.

There is no standard on long int, is there? 

#include <stdio.h>

int main()
{
   printf("Size of int is %ld\n",sizeof(long int));
   return 0;
}


brian
-- 
Brian Lavender
http://www.brie.com/brian/

"There are two ways of constructing a software design. One way is to make
it so simple that there are obviously no deficiencies. And the other
way is to make it so complicated that there are no obvious deficiencies."

Professor C. A. R. Hoare
The 1980 Turing award lecture
                                           
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech

Reply via email to