Swift - Variables and Constants
What will be the output of the following Swift code?
let name = "Anna"
let age = 30
print("\(name) is \(age) years old.")let name = "Anna"
let age = 30
print("\(name) is \(age) years old.")15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions