Which programming language is this?
func bump(_ n: inout Int, by step: Int = 1) {
n += step
}
var score = 10
bump(&score, by: 5)
Answer: Swift
It resembles Kotlin, but
Play Programming Languages ▸
func, the inout parameter, the _ external label and passing &score are Swift-only.