when i define a new variable called temp
i get
missing ';' before 'type'
why??
Code:#include <stdio.h> #include <string.h> #include <stdlib.h> struct line { char name[21], address[21], ID[10]; int grade; int code; }; int main () { FILE* c[2]; struct line temp; c[0]=fopen("c:\\fl1.txt","r");//vote files ,each file represents the votes from a college c[1]=fopen("c:\\fl2.txt","r"); struct line temp; fclose(c[0]); fclose(c[1]); return 0; }