Programming Reference/Librarys
Question & Answer
Q&A is closed
int Integer 4byte* signed: -2147483648 - 2147483647 unsigned: 0 - 4294967295 2byte signed -32768 - 32767 unsigned: 0 - 65535 *hardware-dependent it is also possible that int 2Bytes big is On a 32 bit system it is 4 bytes
You can use to find it out ;)
#include <stdio.h> /* including standard library */ //#include <windows.h> /* uncomment this for Windows */ int main(void) { printf("int: %d bytes\n", sizeof(int) ); return 0; }