1. 1U means that 1 is an unsigned int and not another unsigned type?
Yes, but only because 1 is guaranteed to fit in an int. If
integer literal which is suffixed by u or U, "its type is the
first of these types in which its value can be represented:
unsigned int, unsigned long int." C++0x will add long long, and
provisions for extended integral types (but U or u will always
guarantee an unsigned type, I think).
2. '\012' and '\xb' values are the same with 012 and 0xb?
No. The first two have type char, the last two type int. (They
have the same numeric value of course, but I'm sure you knew
that.)
3. Any numbers appearing like the following:
are considered octals or decimals?
Octals. Character escape sequences only exist for octal and
hexadecimal, not for decimal. (Similarly, the length and
precision fields in a printf format specifier are always
decimal, regardless of the format; e.g. "%.017f" and "%.17f"
specify exactly the same format, and in "%010d", the initial 0
is a flag, saying to use 0 as a fill character, and not space,
and does not mean that the width is octal.)