title: Why isn't this printing out characters and only printing integers?
body: <p>I'm trying to print a linked list of characters, and then later make a function to copy the string onto a new one and then reverse it and print it out. I'm confused as to why this is printing out only integers, and also how to reverse the string. Here is my code: </p>
  
  <pre><code> #include&lt;stdlib.h&gt;
   #include&lt;stdio.h&gt;
  
   struct list_el 
   {
   char val;
   struct list_el * next;
   };
  
  
  typedef struct list_el item;
  
  
  int main() 
  
  {
   item * curr, * head;
   int i;
  
   head = NULL;
  
   for(i='i';i&gt;='a';i--) 
   {
  
  
    curr = (item *)malloc(sizeof(item));
    curr-&gt;val = i;
    curr-&gt;next  = head;
    head = curr;
   }
  
  
  
   head = NULL;
  
  
   while(curr) 
   {
    printf("%d\n", curr-&gt;val);
    curr = curr-&gt;next ;
   }
  
   return 0; 
  }
  </code></pre>