Predict the output
#includestdio.h
void main()
{
int a[ ]={10,20,30,40,50};
int *p;
int *q;
p=&a[0];
q=&a[4];
while(p=q){
printf("%d\n",*p);
p++;
}
printf("\n");
}


Posted on by