Swift - Optionals
What will be the output of this Swift code?
var text: String? = nil print(text ?? "Default")
var text: String? = nil print(text ?? "Default")
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions