the following code is giving me the error:
syntax error before '.' token
why is it so??Code:struct point zero; zero.location[0]=0; zero.location[1]=0;zero.location[2]=0; zero.coords[0]=0;zero.coords[1]=0;zero.coords[2]=0; zero.p_xyz[0]=NULL;zero.p_xyz[1]=NULL;zero.p_xyz[2]=NULL; zero.p_xyz_n[0]=NULL;zero.p_xyz_n[1]=NULL;zero.p_xyz_n[2]=NULL;