a[]={1,2,3,4}
in function only the address of the array is supplied, so the sizeof gives 8.
in main whole array is used so sizeof is giving 16.
But for 64 bit system if by sizeof output is 16 for whole array then for the same it should be 4 for the function value passed.