FW: why it is not from 0?
bjorn rohde jensen
bjensen@fastmail.fm
Sun May 29 13:19:00 GMT 2011
Hi Eric,
This is really a question about character sets and string representation
in C and not a question about GCC.
What you are seeing are the integer values of the individual characters
in the array, that is '0' to '8' followed by the string terminator '\0'.
The values, you see, are consistent with with the ASCII character set.
http://en.wikipedia.org/wiki/ASCII
Try changing the string and compare the result with the ASCII tables.
Yours sincerely,
Bjorn
More information about the Gcc-help
mailing list