Skip to content
Quiz · Variables and types · lesson 2 of 7

Quiz — assigning to a let

What happens when this program is compiled and run?

SWIFT
var count = 1
let limit = 3
count = 2
limit = 4
print(count, limit)