As demonstrated by bhaiya in the video I think that in the video he is doing pass by address as pass by value is done by:
function: void increment(int a)
function call:increment(&a)
while in the video he is doing
function:void increment(int *a)
function call:increment(&a)
please clarify if I am wrong