Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the purpose of 'inout' parameters in Swift functions.
Answer: 'inout' parameters allow a function to modify the value of the parameter directly, and any changes made inside the function affect the original value outside the function.
Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook