The terminal keeps saying: segmentation fault 11.
My code is:

```
int main()
{
    FILE *file;
    file=fopen("test.txt","r");
    int c;
    int vowelCount=0;

    while ((c=getc(file)!=EOF)) {

        if( c=='a' | c=='e' | c=='i'| c=='o' | c=='u')
        {

            vowelCount++;
        }
    }
    printf("%d",vowelCount);
    return 0;
}

```