Swift - Functions
How do you correctly declare a Swift function named modify that takes an inout parameter number of type Int?
How do you correctly declare a Swift function named modify that takes an inout parameter number of type Int?
inoutinout keyword appears before the parameter type.inout before Int. Other options misuse the keyword placement.inout before type [OK]inout always precedes the type [OK]inout before parameter nameinout after the typeinout as a parameter label15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions