Swift - Variables and Constants
What will be printed by this Swift code?
var value = 3 value = 9 print(value)
var value = 3 value = 9 print(value)
value is initially set to 3.value is then changed to 9, which is valid since var allows mutation.value, which is 9.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions