Qtr No. 213, New Town Yehlanka Indore 454775
What will be the output for the below-mentioned code snippet?
package main
import "fmt"
func main() {
arr := [3][3]string{{"C#", "C", "Ruby"}, {"Java", "Python", "Typescript"},
{"CSS3", "Go", "HTML"}}
for x := 0; x < 3; x++ {
for y := 0; y < 3; y++ {
if x==y || x==3{
fmt.Println(arr[x][y])
}
}
}
}
C#
Python
HTML
Java
Python
Typescript
CSS3
Go
HTML
C#
C
Ruby
To get all Infosys Certified Go Developer 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