The code prints the character 'a'.
The following code prints the character at index 2 of the string 'diamond' which is 'a'.
8.9m questions
11.6m answers