title: Malloc double pointer
body: <p>My function prototype should look like this:</p>
  
  <pre><code>void double_min_max(int **range, int min, int max)
  </code></pre>
  
  <p>I have to fill 'range' with number from min to max.</p>
  
  <p>I don't know how to malloc the double pointer and how to assign every element the number min.</p>
  
  <pre><code>void    double_min_max(int **range, int min, int max)
  {
      range = (int **)malloc(sizeof(int)* 10);
      int i = 0;
          while (min &lt; max)
          {
          **range[i] = min;
          i++;
          min++;
      }
  }
  </code></pre>