Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumSwiftcustom operatorsSingle-choice MCQ

Given a custom operator overloaded for two argument types, which statement about compound assignment is correct?

infix operator +++ : AdditionPrecedence func +++ (l: Int, r: Int) -> Int { l + r }