Beginner Go (Golang)
Q4 / 100

What is the zero value of an int in Go?

Correct! Well done.

Incorrect.

The correct answer is D) 0

D

Correct Answer

0

Explanation

In Go, every type has a zero value. int/float = 0, bool = false, string = "", pointer/slice/map/channel/function = nil.

Progress
4/100