Guest_imported
New member
- Jan 1, 1970
- 0
main()
{
int *y;
int i,p=0;
int a[655];
int k;
printf("thiru\n"
for(i=0;i<655;i++)
{
y[p]=5;
printf("%d %d\n",i,y[p]);
p++;
}
}
it is giving segmentation fault error.
please debug it and help me.
{
int *y;
int i,p=0;
int a[655];
int k;
printf("thiru\n"
for(i=0;i<655;i++)
{
y[p]=5;
printf("%d %d\n",i,y[p]);
p++;
}
}
it is giving segmentation fault error.
please debug it and help me.