Hi, i have a problem with passing the array of structs into another function. Line 15 and 20 - errors. Here the code
#include<stdio.h>
struct point
{
int x;
int y;
}pointar[3];
typedef struct point POINT;
struct circle
{
int x;
int y;
float radius;
}circlear[3];
typedef struct point CIRCLE;
void fun (POINT *pointar, CIRCLE *circlear);
void main ()
{
........
fun (pointar, circlear);
}
thanks in advance