Can anyone explain me the working of this C code? : <p>I don't know how this code is working? </p>

<pre><code>#include&lt;stdio.h&gt;

 int main()
 {
     char *s = "PRO coder";
     int n = 7;
     printf("%.*s", n, s);
     return 0;
 }
</code></pre>

<p>The result I am getting is "PRO cod"</p>
