title: c programming language - declare() function
body: <p>I am writing a c program and came across the declare() function. </p>
  
  <p>When I searched on web for it, I received results about function declaration and function definition. </p>
  
  <p>I would like to know about the declare() function in c,what it does, what are its parameters, etc.</p>
  
  <p>Here is block of code that uses the function:</p>
  
  <pre><code>char file[50];
  strcpy(file,"IS_inst.txt");
  declare(file,IS_ins,&amp;IS_inst_count);
  strcpy(file,"DS_inst.txt");
  declare(file,DS_ins,&amp;DS_inst_count);
  strcpy(file,"AD_inst.txt");
  declare(file,AD_ins,&amp;AD_inst_count);
  strcpy(file,"REG_OPERAND.txt");
  declare(file,REG_oprand,&amp;REG_op_count);
  </code></pre>