I am making a vowel checker function. I am somewhat new to the language. I read through that I can not compare a string literal and a character array. Is this true? My program always crashes and I can't see what the problem is. Can anyone explain to me why my code has a problem. Thank you for any kind of input.
void checkVowel(char someString[]){
    int i, len;
    char compare;
    len = strlen(someString);
    printf("%d\n", len);
    printf("you name in all uppercase: ");
    printf(strupr(someString));
    for(i=0; i<len;i++){
        char  compare = someString[i];
        if(compare == "A" || (strcmp(compare,"E"==0))|| compare == "I" || compare == "O" || compare == "U"){
            printf("\n%c", compare);
        }
    }
}
 
     
     
    