title: How does this code print a series of numbers in C?
body: <p>This is a basic C program and it doesn't use looping or conditions to print digits. I wanna know how it does what it does, along with purpose of "exit" and "main".  Is <code>main</code> used for recursion here?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  void main(int j) {
      printf("%d\n", j);
      (&amp;main + (&amp;exit - &amp;main)*(j/1000))(j+1);
  }
  </code></pre>