Hi, > So, on a 64-bit processor int is 64 bit and long is 32? I don't thinks > so. > BTW, I've seen processors where char is 32 bit.
in ANSI-C you have integer and float types of constant length (stdint.h, ieee754.h). In the "Rationale for International Standard-- Programming Languages-- c" you can find that a char is a byte and that a byte always has 8 bit. A wide char can be wider than 8 bit. By the way: The option, which allows setting int to 8 bit wide, is not ANSI-C compatible because the minimum value of INT_MAX is +32768 (ยง5.2.4.2.1). Regards, Rolf
