Introduction
Reference array
Single Dimensional Array
Printing Arrays
Reference array
when we create a reference array and when new value is passed to that reference array then the value of original array is changed.
Copying Array
This is how we can copy an array that is it copy and clone as a duplicate array with the reference name we associated.
In this case when we Pass new values to that reference array the the values of this reference array is changed.
But does not effect the values of original array.
Multi Dimensional Array (2D Array)
Calculating sum of array
Jagged Array
MyNotes
This is how how we can print a 2D array using foreach.
0 Comments