every character in the string is assigned a unique ________number
Answers
Answered by
0
answer is :3
Explanation:
Traverse the input string str and do following for every character c = str[i].
Increment count[x].
If count[x] is 1, then store index of x in index[x], i.e., index[x] = i.
If count[x] is 2, then remove x from index[], i.e., index[x] = n.
The number of characters in the string is called its length, and "hello world" has length 11 - made up of 10 letters and 1 space. There is usually a restriction on the maximum length of a string.
Answered by
0
Answer is = 3
Explanation:
Every Character in the string is assigned a unique____3____ numbers
Similar questions