let x = r.returnAesultCode(changeResult(r: &r.resultCode))
func changeResult(r: inout Int) -> Int { r = 1 return 0 }