title: Why give "stop working" error message when work with structure in c?
body: <p>I need to understand why give this error message "stop working". Here is my code.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  struct student{
      int id;
      char name[20];
      char *title;
  };
  
  int main()
  {
      struct student *st;
      st-&gt;id = 23;
      //st-&gt;name = "shaib";
      st-&gt;title = "title";
  
      printf ("%d", st-&gt;id);
      printf ("%s", st-&gt;title);
  
      return 0;
  }
  </code></pre>