title: passing argument 1 of 'atoi' makes pointer from integer without a cast…can any body help me
body: <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main()
  {
      char c;
      int count = 0;
      c=fgetc(file);
      while  (c != '\n' )
      {
          instruction_file[count] = atoi(c);
          c = fgetc(file);
          count++;
      }
  }
  </code></pre>
  
  <p>The error message is</p>
  
  <pre><code>warning: passing argument 1 of 'atoi' makes pointer from integer without a cast
  /usr/include/stdlib.h 147, expected const char* but argument of type char
  </code></pre>