Java has indexof, is there anything like that in C for ints? for example if i have 233 i want to check if the first number 2 matches the last 3.
An array could be used of course and by putting the number inside it and comparing the first and third element, but is there a way without it?