What will be the output of the following code snippet:
//Assume all necessary imports are done
const (
value1 = 10
value2 = 30
value3 = iota * 20
value4
value5 = 20
)
func main() {
fmt.Println(value1, value2, value3, value4, value5)
}

10 30 40 60 20

10 30 0 20 20

10 30 20 40 20

10 30 60 80 20

Verified Answer
Correct Option - a

To get all Infosys Certified Go Programmer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in