Google News
logo
Golang - Quiz(MCQ)
Which of the following function returns the total number of elements present in a slice?
A)
size()
B)
cap()
C)
len()
D)
None of the Above

Correct Answer :   len()

Advertisement