I expect this simple line of code
printf(\"foo\\b\\tbar\\n\");
to replace \"o\" with \"\\t\" and to produce the following output
\t is the tab character, and is doing exactly what you're anticipating based on the action of \b - it goes to the next tab stop, then gets decremented, and then goes to the next tab stop (which is in this case the same tab stop, because of the \b.
\t
\b