submission$ cat test.ccorrect but i didn't mean that... i mean how to become negative with out
int main(void) {
signed short int count = 0;
while(count >= 0 ) {
printf("count: %d\n", count++ );
}
printf("count: %d\n");
}
submission$ gcc -o test test.c
submission$ ./test
[...]
count: 32767
count: -1
I could be wrong here, but I don't think the hardware even keeps track ofit has to have hardware because if there is not so how the time is
the clock ticks, rather it just ticks and lets the software keep track.