title: share a struct in c++ and c?
body: <p>say a define a struct in header file of c++, foo.h</p>
  
  <pre><code>typedef struct {
      ...
  }foo;
  </code></pre>
  
  <p>in .c file I include the foo.h, then </p>
  
  <pre><code>foo* fooPtr;
  </code></pre>
  
  <p>will it work?</p>