50 iOS Interview Questions And Answers Part 2
Durul Dalkanat
2.4K19

#36 answer is a bit confusing — the way by which parameter is passed is defined by it’s type. That’s true that inout means that the value is going to be passed by reference (even if it’s a value type), but if parameter is a reference type (e.g. class or function) it will be passed by reference anyway (in contrast to how the answer states).

Like what you read? Give Alex Puz a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.