Sobes.tech
Junior — Senior

What text will the program output in example №10

livecode

Task condition

Determine which output will appear in the console after executing the following program.

func main(){
    var ptr *int
    var val interface{}
    
    val = ptr
            
    if val == nil{
        fmt.Println("val is nil")
        return        
    }
    fmt.Println("val is not nil")
}