If you want to find the character 'X' in an array of chars, by hand, you can use a for loop to see if the character at an index i is equal to the character you are looking for.
If you made cti into a properly terminated string, an array of characters with a '\0' in the last index, you could use strchr().
strchr() returns a pointer; to get the index, you must subtract the base array address.
you can use a loop to search for the element, e.g.
void setup() {
Serial.begin(115200);
int i;
char cti[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' }, find='5';
for (i = 0; i < sizeof(cti); i++)
if (cti[i] == find) {
Serial.printf("index of %c is %d\n", find, i);
break;
}
if (i == sizeof(cti)) Serial.printf("%c not found\n", find);
}
void loop() {
// put your main code here, to run repeatedly:
}