Beginner Go (Golang)
Q15 / 100

What is a struct in Go?

Correct! Well done.

Incorrect.

The correct answer is B) A composite value type grouping named fields

B

Correct Answer

A composite value type grouping named fields

Explanation

type Point struct { X, Y int } defines a struct. Structs are value types in Go; assignment copies the entire struct.

Progress
15/100