|
|
|
|
myData
is an array of ints, when you use it, it's just like using the address to the first int
in the array. So, when you try to print it, you're printing the address of the first int
in the array. If you want to print the contents of the array, use a for each loop, like suggested above, or use a standard for loop with index:
|
|