Format print string with variables the C way.