Advertisements
Advertisements
Question
What will be the output of the following code?
str1 = "Chennai Schools"
str1[7] = "-"
Options
Chennai-Schools
Chenna-School
Type error
Chennai
MCQ
Solution
Type error
shaalaa.com
Programs Using Strings
Is there an error in this question or solution?