Ok this is my problem...
#include <stdio.h>
#define MAX [10]
struct employee // structure of employees (first and last name)
{
char firstname [20];
char lastname [20];
};
typepdef struct employee Employee;
GetName (Employ *);
Employee Employees [5]; //an array of the structure
void main (){
Employee E;
GetName (&E); //Gets name from user
//now how do i store that into the first spot the array
//and once i do that how i can i call it again to store it into
//a second spot
}
void GetName(employ *pE){
printf ("please enter the first name of the employee");
scanf ("%s", &(pE->firstname));
printf ("please enter the coordinates for point 2 (x and y)");
scanf ("%s", &(pE->lastname));
}
????