Swift - Data Types
Find the error in this Swift code snippet:
var text = "Swift" text[0] = "s"
var text = "Swift" text[0] = "s"
text[0] causes a compile error because integer subscripts are not allowed.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions