Computer Science, asked by shainyvarghse1974, 5 months ago

pls reply only crt ans​

Attachments:

Answers

Answered by jai696
1

The value of S[-2] is o

Explanation:

S[-2] accesses the second last item from the string. Negative index starts from -1

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by BrainlyProgrammer
1

Answer:

The correct answer is 'o'

Explanation:

s[-2] will find the last second character of the string.

(Note: the negative sign, negative sign means the character must be taken out from the last else if the negative sign would not be given, the answer would be't'.)

_____________

This question is exactly similar to the Question asked by you before,

Reference link->

https://brainly.in/question/31442271?utm_source=android&utm_medium=share&utm_campaign=question

Similar questions