25sprout interview question

Q: Struct vs Class Q: weak vs unowned

Interview Answer

Anonymous

24 May 2022

A: 1. create by stack vs create by heap 2. value copy and reference copy A: 1. weak reference can be optional 2. unowned reference must be exist