हिंदी

What will be the output of the following code? str1 = "Chennai Schools" str1[7] = "-"

Advertisements

प्रश्न

What will be the output of the following code?

str1 = "Chennai Schools"
str1[7] = "-"

विकल्प

  • Chennai-Schools

  • Chenna-School

  • Type error

  • Chennai

MCQ
Advertisements

उत्तर

Type error

shaalaa.com
Programs Using Strings
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 8: Strings and String manipulation - Evaluation [पृष्ठ १२९]
Advertisements
Share
Notifications



      Forgot password?
Use app×