Quiz: Memory and Time
Test your understanding of memory and time in Go.
We'll cover the following...
1
Which of the following statements is correct?
A)
You should always pass structs by reference in Go because otherwise they will be copied in memory which is slow.
B)
You should always pass structs by value in Go, because that does not involve heap or garbage collector.
C)
It depends on the code.
D)
None of the above.
Question 1 of 30 attempted
Access this course and 1400+ top-rated courses and projects.