I
Ido Yehieli
Hi,
from what i've read (http://tigcc.ticalc.org/doc/
keywords.html#short) and unsigned int should normally be in the range
0 to 65535. However, compiling and running this program:
#include <stdio.h>
int main(){
unsigned int y=1;
y-=2;
printf("y=%i\n",y);
}
produces "y=-1". shouldn't it be either 65535 or some error?
-ido.
from what i've read (http://tigcc.ticalc.org/doc/
keywords.html#short) and unsigned int should normally be in the range
0 to 65535. However, compiling and running this program:
#include <stdio.h>
int main(){
unsigned int y=1;
y-=2;
printf("y=%i\n",y);
}
produces "y=-1". shouldn't it be either 65535 or some error?
-ido.