Sobes.tech
Junior — Senior

What output will the console display when running program №68

livecode

Task condition

Determine what text will appear in the console after executing the following Go program.

package main

import "fmt"
import "os"

func Foo() error {
    var err *os.PathError = nil
    return err        
}

func main() {
    e := Foo()
    fmt.Println(e)
    fmt.Println(e == nil)        
}