Swift - Optionals
Find the problem in this Swift code:
func printName(_ name: String?) {
print(name!)
}
printName(nil)func printName(_ name: String?) {
print(name!)
}
printName(nil)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions