title: Passing special character as argument
body: <p>I need to pass a string whose hex is <code>00 2C 00 21</code>  to my program as the command line argument which i am unable to do.</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main(int argc,char* argv[]){
  
  // argv[1] should have the string that the above hex represents 
  
  //... the program will use that string inside the program
  
  //...also please explain what should i do if i (am/am not) allowed to modify the source  
  
  }
  </code></pre>
  
  <p>Since 00 is NULL character i am unable to represent it in command line and pass it to the program. Also i need to pass string composed of various other characters  whose hex values are like  01 or 02 (for eg) which you cannot enter directly from the keyboard and pass as an argument.</p>
  
  <p><strong>What should i do so that my program receives the string whose hex representation is <code>00 2C 00 21</code></strong>. </p>
  
  <pre><code>$./a.out " what should i write here?  " 
  </code></pre>