title: why we use char array to create a buffer
body: <p>Why we use a char array to create a buffer in the memory instead of a int array and if int array can be used to create the buffer,how to get the output from it ?</p>
  
  <pre><code>int main()
  {
      char  buffer[100];
      fread(buffer,sizeof(int),4,stdin);
      int i=0;
      while(i&lt;4)
      {
          printf ("%d,\n",buffer[i]);
          i=i+1;
      }    
  }
  </code></pre>