string subscript indexer « String « C++






1.Modify char in a string by indexer
2.Accessing characters in a string
3.switch statement based on char value
4.Tests whether a string is a palindrome