Hi
I know that default characters may be either signed or unsigned. Is it the compiler that decides if a char will be signed or unsigned or is it more like it happens at runtime (platform dependent)?
Thank you in advance !!
Printable View
Hi
I know that default characters may be either signed or unsigned. Is it the compiler that decides if a char will be signed or unsigned or is it more like it happens at runtime (platform dependent)?
Thank you in advance !!
> Is it the compiler that decides if a char will be signed or unsigned
No, it's the compiler writer who chooses
Their choice may be based on what the target processor most easily implements, but at the end of the day, they have to implement signed and unsigned chars anyway.