Suppose I have a string "qwerty" and I wish to find the index position of character e in it. How do I do it in C? (In this case the index would be 2)
I found strchr function but that returns a pointer to the character and not the index.
Please help me out!
Thanks, Boda Cydo.