Possible Duplicate:
Negative ASCII value
int main() {
char b = 8-'3';
printf("%c\n",b);
return 0;
}
I run this program and I get a sign which looks like a question mark (?).
My question to you is why is it prints that and not printing nothing, beacause as far as I know the value of b by the ASCII table is minus 43 which is not exist.
by the way, when I compile this code:
int main() {
char b = -16;
printf("%c\n",b);
return 0;
}
I get nothing.