explain any five methods of string data type with suitable example class 11
Answers
Answered by
2
Answer:
hope it helps you bruhh!!!!
Explanation:
A string data type is traditionally a sequence of characters, either as a literal constant or as some kind of variable. The latter may allow its elements to be mutated and the length changed, or it may be fixed (after creation). A string is generally considered a data type and is often implemented as an array data structure of bytes (or words) that stores a sequence of elements, typically characters, using some character encoding.
For example, the word "hamburger" and the phrase "I ate 3 hamburgers" are both strings.
Answered by
0
explain any five methods of string data type with suitable example class 11
Similar questions