title: Incompatible types in assignment
body: <p>I am writing some code in C:</p>
  
  <pre><code>int main(){
      char guess[15];
      guess = helloValidation(*guess);
      return 0;
  }
  </code></pre>
  
  <p>And my function is:</p>
  
  <pre><code>char[] helloValidation(char* des) {
      do {
          printf("Type 'hello' : ");
          scanf("%s", &amp;des);
      }while (strcmp(des, "hello") != 0);
          return des
  }
  </code></pre>
  
  <p>But it is giving me this error:</p>
  
  <pre><code>incompatible types in assignment 
  </code></pre>