Sobes.tech
Junior

How many bytes does an empty string occupy?

sobes.tech AI

Answer from AI

0 bytes. In Golang, an empty string is represented by a nil pointer to a byte array with zero length.