title: accessing structures in different source files
body: <p>I want to access data from a struct used in file1.c and access the data in file2.c</p>
  
  <p>I have declared </p>
  
  <pre><code>in file1.c
  
       struct value
      {
          unsigned char time[6];
          unsigned char date[6];
          unsigned char number[6];
      } entry;
  </code></pre>
  
  <p>where the struct gets filled by values and then want to use the structure in file2.c</p>
  
  <blockquote>
  <pre><code>    time[0]= entry.time[0];
       date[0]=entry.date[0];
        number[0]=entry.number[0];
  </code></pre>
  </blockquote>
  
  <p>How should i use  structure scope such that it can be accessed in file2.c too.?</p>