Posts by Helio Albano • 141 points
1 post
-
4
votes2
answers66
viewsA: Size of arrays
In the example you gave it should be borne in mind that a is a pointer to an Array and not the Array itself. So the moment you did a = new int[10] the a that previously pointed to an Array of size 5…