title: How use the FORMAT part of the sscanf function (or how to use the sscanf function in general)
body: <p>I have encountered the following line in a program. From reading the manual, I know that sscanf copies from wherever argv[2] is pointed to, but I'm not sure why the FORMAT had been specified as %d and, at the same time, %c (I've seen other examples where there are more format specifiers included in the double quotations ). Is it because sscanf writes a decimal to the struct element "%g.number", a character to "%c"? Thanks!</p>
  
  <pre><code>sscanf(argv[2], " %d %c", &amp;g.number, &amp;c)
  </code></pre>