borkut
Programmer
- Mar 12, 2013
- 5
void main()
{
char *names[6];
int i;
for(i=0;i<6;i++)
{
scanf("%s",names);
}
getch();
}
i am writing this code and compiller is not giving any error.i am using dev c++.why error?
{
char *names[6];
int i;
for(i=0;i<6;i++)
{
scanf("%s",names);
}
getch();
}
i am writing this code and compiller is not giving any error.i am using dev c++.why error?