What will be printed once the below code is executed ?

var arrayA:[String] = []               
var arrayB = [String]()  

if (arrayA == arrayB)
	{print ("arrayA and arrayB are the same")}
else 
	{print ("arrayA and arrayB are different")}

 

Compilation Error
Runtime Error
arrayA and arrayB are the same
arrayA and arrayB are the different
Verified Answer
Correct Option - c

To get all Infosys Certified iOS Swift App Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram