Another example is when converting an integer (short, int, or long) to a string such as is done when implementing some of the conversions in fprintf() or snprintf() or related functions.