Which data type in Go is used to represent a sequence of characters?

  • bool
  • float
  • int
  • string
In Go, the data type used to represent a sequence of characters is 'string'. Strings are used to store text data, and they are immutable, meaning once defined, their values cannot be changed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *