MCQs > IT & Programming > Swift > let array1 = ["A", "B", "C"] var array2 = array1 array2.append("D")

Swift MCQs

Considering the following code, which statement is Correct:
let array1 = ["A", "B", "C"] var array2 = array1 array2.append("D")

Answer

Correct Answer: Reference count of array1 won't change after the assignment

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it