हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा १२

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

Advertisements
Advertisements

प्रश्न

What will be the output of the following code?

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

विकल्प

  • Chennai-Schools

  • Chenna-School

  • Type error

  • Chennai

MCQ

उत्तर

Type error

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

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 12 TN Board
अध्याय 8 Strings and String manipulation
Evaluation | Q 2. | पृष्ठ १२९
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×