Quiz · Variables and types · lesson 2 of 7
Quiz — assigning to a let
What happens when this program is compiled and run?
var count = 1
let limit = 3
count = 2
limit = 4
print(count, limit)What happens when this program is compiled and run?
var count = 1
let limit = 3
count = 2
limit = 4
print(count, limit)