Swift - Variables and Constants
What will be the output of this Swift code?
let name = "Alice" print(name)
let name = "Alice" print(name)
name is assigned the string "Alice".name outputs the string value "Alice".15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions