MCQS | Which among the following operations are valid with respect to Strings in Swift? let string = "Super Power" S1: string[2] S2: string.characters[2]

Question:Which among the following operations are valid with respect to Strings in Swift? let string = "Super Power" S1: string[2] S2: string.characters[2]

1.S1 only

2.S2 only

3.Both S1 and S2

4. Neither S1 nor S2