Computer Science, asked by kalpuetawa1981, 3 months ago

Give the output of str[-2] where str = Computer

Answers

Answered by itsbeasthk
0

Answer:

str[-2] = e

Explanation:

count every word of the str = Computer from end as r = -1 , e = -2 , t = -3 an so on, it the value is negative count from the end of the string.

Similar questions