Recently I was investigating a bug and ended up investigating the possible values of C++ literals for char and number types.   The following page has a very useful and detailed grammar of C/C++ literals that came in handy.

http://cpp.comsci.us/etymology/literals.html