title: need help to fix a pointer array c
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  
  void printArray(char* p, int len)
  {
      for (p; p &lt; p + len; p++)
      {
          printf(&quot;%c&quot;, *p);
      }
      printf(&quot;\n&quot;);
  }
  
  int main(void)
  {
      char* msg = &quot;hi jyegq meet me at 2 :)&quot;;
      printArray(msg, strlen(msg));
      getchar();
      return 0;
  }
  </code></pre>
  <p>I've tried to switch some things but I can't understand the problem
  I need to fix this code and I think it's with the print of the pointer and I don't know how to print him with no problems</p>