title: Extern Function?
body: <p><strong>Sample1.c</strong></p>
  
  <pre><code>#include "stdio.h"
  int f1(int x, int y)
  {
    printf("%d %d", x, y);
    return x+y;
  }
  </code></pre>
  
  <p><strong>Sample2.c</strong></p>
  
  <pre><code>#include "stdio.h"
  extern int f1(int x,int y);
  int main(void)
  {
    printf(" %d\n", f1(5,6));
    return 0;
  }
  </code></pre>
  
  <p>I was trying to compile the <code>Sample1.c</code> file then <code>Sample2.c</code> on Turbo C/C++ Compiler (Windows XP).  It shows the following error:</p>
  
  <pre><code>Compiling Sample2.c:
  Linking Sample2.exe:
  Linker Error : Undefined Symbol _f1 in module Sample2.c
  </code></pre>
  
  <p>Can anybody help me on this regard?</p>