sizeof' on array function parameter 'a' will return size of 'int*' code example
Example: Write a method that takes a parameter int size and returns an int[] array of that size.
public int[] makeArray(int size)
{
int[] arr = new int[size];
for(int i = 0; i < arr.length; i++)
{
arr[i] = 0;
}
return arr;
}