Get Index Of Element In Array C