title: Passing Structure to function as argument in C
body: <p>I am having this problem and Dont know the reason</p>
  
  <p>I have this structure</p>
  
  <pre><code>typedef struct 
  {
  
      Int32   frameID;
      Int32   slotIndx;
      Int32   symNumber;
  
  }   recControlList;
  
  
      recControlList  *recControlListPtr;
  </code></pre>
  
  <p>Datatypes are typedefs.</p>
  
  <p>Caller function is :</p>
  
  <pre><code>Fun( recControlListPtr);
  </code></pre>
  
  <p>Fun declaration is </p>
  
  <pre><code>Fun (recControlList *recControlListPtr);
  
  
  syntax error : missing ')' before '*'
  </code></pre>
  
  <p>How to I pass structure as pointer into the function? Please help</p>