Swift - Operators and Expressions
Given the following Swift code, what will be the value of
finalValue?func getValue() -> Int? { return nil }
let a: Int? = nil
let b: Int? = getValue()
let c: Int? = 7
let finalValue = a ?? b ?? c ?? 0