title: Empty element in C character array
body: <p>I'm going through some source code for initializing a webcam in Linux and came across the following puzzling lines of code:</p>
  
  <pre><code>struct stat st;
  char devName[15] = {0, };
  
  sprintf(devName, "/dev/video%d", deviceIndex);
  </code></pre>
  
  <p>it appears that the leading zero doesn't do anything:</p>
  
  <pre><code>printf("%s", devName);
  </code></pre>
  
  <p>returns /dev/video13 where 13 was the deviceIndex.</p>
  
  <p>What does the leading zero do? What does it mean if there's nothing after the comma? <code>{0, };</code></p>