Question: what does .2x mean in c?
Answer: "%2x" is not C code. It functions as part of a format string that is supported by the standard C printf (and scanf and others) function.