We can pass value to function by two different ways:
call by value and call by reference, In case of call by value acopy of value is passed to the function, so original value is not modified in the call by value. But in case of call by reference an address of value is passed to the function, so original value is modified in the call by reference