Unable to understand Pointers as arguments topic

Till visual studio code its clear, Till making two functions also its clear but after that from int main function its all messed up its not clear unable to understand. I request Atharva sir to explain it.