What should be filled in blanks in the following code snippet?
// Assume all the necessary imports are done
func main() {
var sampleString string

modifyA := func() string {
return "FOR A BRICK, "
}

modifyB := func(text string) string {
return text + "PRETTY GOOD "
}

modifyC := func(text string) string {
return text + "HE FLEW "
}

modifyDescription := func() {
sampleString = _____<Blank>_____
}

modifyDescription()

fmt.Println(sampleString)
}

To obtain the following output:
FOR A BRICK, HE FLEW PRETTY GOOD

modifyB(modifyA(modifyC()))

modifyA(modifyB(modifyC()))

modifyB(modifyC(modifyA()))

modifyC(modifyB(modifyA()))

Correct Option - c

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