title: Function argument already initialized in function declaration C++
body: <p>So  here's my question in the function declaration there is an argument and it is already initialized to a certain value. What are the procedures to call this function and use that default value, or is it just a way to document code, telling other programmers what you expect them to use as a value for the parameter? Thank you.</p>
  
  <pre><code>enum File
  {
      XML = 0,
      PDF = 1,
  };
  
  Char *SetSection(const File = XML);
  </code></pre>