Subslice element

Report a typo

Suppose you create the subslice n from the nums slice that contains multiples of the number 4:

nums := []int{4, 8, 12, 16, 20, 24, 28, 32, 36, 40}
n := nums[:4]

What will be the last element of the n subslice? Write your answer as an integer number below.

Enter a number
___

Create a free account to access the full topic