Implement printf’s %c, %s, and %p