Pergunta de entrevista da empresa Huawei Technologies

Find the inside vowels in a string.without using any of the string API. ex : this is a main function. Ans should be ai in main and i in this io in function