title: Is it safe to use the argv pointer globally?
body: <p>Is it safe to use the <code>argv</code> pointer globally? Or is there a circumstance where it may become invalid?</p>
  
  <p>i.e: Is this code safe?</p>
  
  <pre><code>char **largs;
  void function_1()
  {
      printf("Argument 1: %s\r\n",largs[1]);
  }
  int main(int argc,char **argv)
  {
      largs = argv;
      function_1();
      return 1;
  }
  </code></pre>