Which of these is a valid definition of a generic function that incorporates inout parameters in Swift?
Correct Answer: func swap<T>(inout a: T, inout b: T) { let temp = a a = b b = temp }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions