Junior — Senior
What output will appear in the console (example 46)
livecode
Task condition
What will be the output after executing the following program:
a := 0
defer fmt.Println(a)
defer func() {a++}()
livecode
Task condition
What will be the output after executing the following program:
a := 0
defer fmt.Println(a)
defer func() {a++}()