title: assignment makes integer from pointer without a cast [-Wint-conversion]
body: <p>i am new to c, i am trying to make a simple code in which i replace the vowels of an input with the * character... i am having trouble with the array (i am mainly familiar with python only using c now.)</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
   char* main() {
   int c;
   char* vowels[] = {'a', 'e', 'i', 'o', 'u'};
  
   while( 1 ) {   // means: true
    c = getchar();
    if(c == EOF) break;
    if(c = vowels) putchar('*'); 
    else putchar(c);
  }
  }
  </code></pre>
  
  <p>i keep receiving the same error message: novowels.c:5:41: note: (near initialization for ‘vowels[4]’)
  novowels.c:10:12: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
         if(c = vowels) putchar('*'); 
              ^</p>
  
  <p>.... please help, i can't quite figure out how do complete this program of replacing vowels with *</p>