What will be the final value of "a.data" and "b.data" after following codes are executed?
struct A { var data: Int = 2 } var a = A() var b = a var c = b c.data = 10 a.data = 5
Correct Answer: a.data = 5 and b.data = 2
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Swift MCQ Questions