Junior — Senior
What output will the program produce
livecode
Task condition
This example considers a small Go program that calculates the power of two and casts it to the int32 type. Note that the import of the fmt package is commented out, although the fmt.Println function is called. Analyze what will happen when attempting to compile and run the code.
package main
// import "fmt"
import "math"
func main() {
i := int32(math.Pow(2, 64))
fmt.Println(i)
}