Configuration: Windows XP Internet Explorer 6.0
|
Hello
In C/C++... A byte is at least 8 bits. char is exactly 1 byte short is at least 16 bits. int is at least 16 bits. long is at least 32 bits. Also: short <= int <= long. Finally: sizeof(int) == sizeof(unsigned int). A pointer's size is determined by the platform, and has no guaranteed size. Therefore, my answer is, Both and neither. |