title: ERROR: A function Can't return char type in C
body: <p>I'm trying to make a ADT, but when I created a function that return char type, the program is not working. This is the ADT:</p>
  
  <pre><code>typedef struct{
  int ID;
  char Writer[100];
  char Title[100];
  long Year;
  }Book;
  </code></pre>
  
  <p>the function is:</p>
  
  <pre><code>char GetTitle(Book B){
  return B.Title;
  }
  </code></pre>
  
  <p>I used this to get the return value of the function:</p>
  
  <pre><code>printf("%s",GetTitle(B));
  </code></pre>
  
  <p>How do I return Char type?</p>