Código
#include <stdio.h> #include <stdlib.h> struct point { float x,y; }; /* Function */ void function(struct point *Tk, struct point Tz, float fi) { } /* Call */ function(&Tk,Tz,fi); }
Este programa me da error en la línea de: [ function(&Tk,Tz,fi);];
me pone:
- Conflicting types for 'function'
- Syntax error before '&' token
Si me podeis ayudar, os lo agradecería muchísimo.
Gracias de antemano.