Possible Duplicate:
integer size in c depends on what?
Why is the size of an integer 2 bytes on a 16-bit compiler and 4 bytes on a 32-bit compiler? And also, how is it related to OS?
printf("%d", sizeof(int));//what will be o/p on windows 32bit Turboc 32 bit architecture
printf("%d", sizeof(int));//what will be o/p on windows 32bit visual studio 32 bit architecture