Invalid string conversion

Report a typo

Consider the following variables in a Go program:

num := 10
char := 'a'
byteSlice := []byte{97, 98, 99}
flag := true

Which line of code below would cause an error due to an invalid type conversion?

Select one option from the list
___

Create a free account to access the full topic