title: How to get Command line arguments for xterm in C?
body: <p>My code is as follows to open a xterm terminal and run the ./paramax executable</p>
  
  <pre><code>#include &lt;unistd.h&gt;
  #include &lt;sys/ipc.h&gt;
  
  int main(int argc, char* argv[])
  {
  execl("/usr/bin/xterm", "/usr/bin/xterm", "-hold", "./paramax", (void*)NULL);
  return 0;
  }
  </code></pre>
  
  <p>Now the problem is for ./paramax I need to give a commandline argument for it to execute. How to proceed with this?</p>