Posts by Jhonatan • 11 points
1 post
-
1
votes2
answers393
viewsA: If array is the same as pointer, why does one need to be copied to a variable and another need not?
Another way of seeing is so the pointer has variable value, ie it can point to anywhere in memory. Already the vector is not static it never changes and if you try to change will have problems. int…