Cant get 2 analog input readouts correctly

How you are not getting errors or at least warning when you pass int literal to pointer argument?