Ad
  • Custom User Avatar

    When none of cases match the value stored in str[i], the default is executed instead. So in this code when str[i] is not a vowel, by default it is added to *ans.