title: String searching in linked list by C
body: <p>Facing problem in while loop for if condition, 
  conditional values are equal but not going inside in if condition.   </p>
  
  <pre><code>void searchList(char name[20])
      {
          char contactName[20];
          strcpy(contactName,name);
          struct node *temp = head;
          printf("\nSearch Contact : \n");
          printf("-------------------\n");
          printf("Name : %s\n",name);
          while (temp != NULL)
          {
              if(temp-&gt;name == contactName)
              {
                  printf("Contact Name : %s\n",temp-&gt;name);
                  printf("Contact Number : %s\n", temp-&gt;phone);
              }
              temp = temp-&gt;next;
          }
      }
  </code></pre>