Tech Challenge
2026-08-13
🦫
Daily Tech Challenge
Go
medium
Question 1 of 5
What does this Go program print on its three lines, given how strconv.Quote and strconv.QuoteToASCII treat a printable non-ASCII rune?
Example
package main
import (
"fmt"
"strconv"
)
func main() {
s := "héllo\tworld"
fmt.Println(strconv.Quote(s))
fmt.Println(strconv.QuoteToASCII(s))
fmt.Printf("%q\n", s)
}Thursday, August 13, 2026 · A new challenge drops every day