i want to knw abt the behavior of this array int abc[]={1,2,3,4,5,6,7 ,8,9,10}; ?
int abc[]={1,2,3,4,5,6,7 ,8,9,10};
for (int i=0; i< 10 ; ++i){
cout<<*abc;
abc++; // why is this thing not working ??
}
cout<<*abc<<end l;
int abc[]={1,2,3,4,5,6,7 ,8,9,10};
for (int i=0; i< 10 ; ++i){
cout<<*abc;
abc++; // why is this thing not working ??
}
cout<<*abc<<end l;
Comment