Signed char problem of C language?

""

signed char a=41;
signed char b=041;
print("%d, %d\n",a,b);

""
found that the value of an is 41 and the value of b is 33.
char uses 8 bit, but the results of these two assignments are not the same?

C
Apr.19,2022
What does

have to do with char? 0 begins with octal!

Menu