title: Struct prototype before the main()
body: <p>Having a <code>struct</code> - </p>
  
  <p><code>typedef struct Point{
      ....
  }</code></p>
  
  <p>I want to write its <code>prototype</code> before the <code>main()</code> , something like  - </p>
  
  <pre><code>typedef struct Point  ;
  
  int main() {
      Point p1 ,p2 ; 
      ... 
  }
  
  typedef struct Point {
     int x;
     int y;
  } Point;
  </code></pre>
  
  <p>The above gives me error - <code>unknown type name 'Point'</code> . </p>
  
  <p>How could I achieve that right  ?  </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I know that it would be work if I define to <code>struct</code> before the <code>main()</code> . I just want to know whether it have any <code>prototye</code> similarly to <code>function prototye</code>. </p>