title: Arrays: same line of code printing different answers?
body: <p>I have just started learning C and I have encountered the following problem:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #define T 1
  int G;
  
  int main(void)
  {
      int arr[5] = {7,8,9,10,11};
      int a;
  
      printf("%d\n", G);
      printf("%d\n", arr[T]);
      printf("%d\n", arr[G]);
  
      a = arr[T]*arr[G];
  
      printf("%d\n",a);
  
  
      printf("%c", arr[T]*arr[G]); //why is this answer printed differently from a?
  
      return 0;
  }
  </code></pre>
  
  <p>Appreciate your kind help!</p>