char a[20]="this is";
cout<<strchr (a,'t')-a;
How can this (a,'t')-a" can show the index of the first appearance of the letter t?How does it work? Someone said that the compiler makes the sum of ASCII characters,then subtracts the determined character.