Beginner Go (Golang)
Q32 / 100

What is a constant in Go?

Correct! Well done.

Incorrect.

The correct answer is B) A value declared with const that is evaluated at compile time

B

Correct Answer

A value declared with const that is evaluated at compile time

Explanation

const Pi = 3.14159 or const ( A = iota; B; C ) using iota for enum-like values.

Progress
32/100