Beginner Go (Golang)
Q11 / 100

What is the blank identifier _ used for?

Correct! Well done.

Incorrect.

The correct answer is B) Discarding a value when it is not needed

B

Correct Answer

Discarding a value when it is not needed

Explanation

_, err := f() discards the first return value. The blank identifier prevents "declared and not used" compile errors.

Progress
11/100