title: C returning answer through parameters ( refernce)
body: <p>Hy everyone,</p>
  
  <p>pls consider this small code, and help me to figure out, why it's not working?</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  void setup(int* helo) {
      helo = (int*) malloc(sizeof(int));
      (*helo) = 8;
  }
  
  int main(int argc, char* argv[]) {
      int* helo = NULL;
      setup(helo);
      printf("Value: %s \n", (*helo));
      getchar();
      return 0;
  }
  </code></pre>