As far as I know, the range for an integer is from -32768 to 32768, right? But take a look at this code:
int n, lar = -32768, count;
for( count = 0 ; count < 10 ; count++ )
printf("Please enter your %d integer: ",count+1);
if( n >= lar)
lar = n;
printf("Largest is %d", lar);
Eventhough when I entered an integer number out of the range of integer, the compiler still work properly. Why?