Suppose we have the following code written using the version of Go 1.20+, what will be the output if we rerun the program several times?
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println(rand.Intn(10))
}Suppose we have the following code written using the version of Go 1.20+, what will be the output if we rerun the program several times?
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println(rand.Intn(10))
}Create a free account to access the full topic