Posts by Alex • 23 points
1 post
-
2
votes1
answer1397
viewsQ: How do I correct "indefinite reference to 'function' in C?
Here is a simple example of TAD, which shows the error. file. h #include <stdio.h> #include <stdlib.h> int teste(); file. c #include "arquivo.h" int teste() { int a=5, b=10; return a+b;…