void records(struct drivers_license *record[15]);
void changes(struct drivers_license *record[15]);
int main()
{
struct drivers_license record[15];
sprintf(record[0].lastname,"Daniel");
printf("%12s",record[0].lastname);
records(*record[]);//expression syntax error right here
changes(*record[]);//expression syntax error right here
return 0;
}
void records(struct drivers_license *record[15])
{
printf("%s",record[0]->lastname);
}
void changes(struct drivers_license *record[15])
{
}
I get an expression syntax error in main when trying do declear the records and changes functions.



LinkBack URL
About LinkBacks


