title: Comparison of strings in C
body: <pre><code>char str1[]="abc";
  char str2[]="abc";
  
  if (str1==str2)
      printf("Yes")
  else
      printf("No");
  </code></pre>
  
  <p>I am refreshing my C.  Wouldn't the above code return "Yes"? I think it would because str1 and str2 are pointing to the first elements of the array, which are the same (the letter a).  Please advise if I am missing something.</p>