title: Program name in argv[0]
body: <p>I read that <code>argv[0]</code> holds the program name i.e. the name by which we save the project....
  but when I execute the following statement in my objective C command line program </p>
  
  <pre><code>const char *proName=argv[0];
  </code></pre>
  
  <p>i see the following in the console:</p>
  
  <pre><code>/Users/apple/Library/Developer/Xcode/DerivedData/testaehcfzilirskhjbifrwresgppvbp/Build/Products/Debug/test
  </code></pre>
  
  <p>here test is the name of my program....
  so what does it give...full path or program name?
  Thanks</p>