/* * intlimits3.c - Declaring variables requireing more memory. * long int = */ #include int main(void) { long int xx, yy, zz; xx=500; yy=5000000; zz=5000000000; /* Compiler warning * intlimits.c: In function 'main': * intlimits.c:10: warning: integer constant is too large for 'long' type * intlimits.c:10: warning: overflow in implicit constant conversion */ printf("Short int integer allocation\n"); printf("5000 is stored as %d in memory\n", xx); printf("5000000 is stored as %d in memory\n", yy); printf("5000000000 is stored as %d in memory\n", zz); return 0; }