Daily iOS
SwiftMeesho

Recursive value types

What happens when you compile this code? And if you change the same definition to class Person?

struct Person {
    let name: String
    let father: Person
}

Pick one

Submit