why we can n’t reinitialize array again but we can with new operator??
please provide theoretical reason
Static array doubt
int a[ ] = {1,2,3,4};
then a[ ] = {4, 5, 6}; change the value
why we can n’t reinitialize array again but we can with new operator??
please provide theoretical reason
int a[ ] = {1,2,3,4};
then a[ ] = {4, 5, 6}; change the value