Please clarify my understanding regarding object and reference and value type is current?
Object means a memory location in RAM where we allocate memory while executing a program
Reference means a location(address) in the memory.
Passing by reference means - we are passing or pointing a memory location to the function to take the values for the function from which the memory address has been passed.
Passing by value means we are not giving any address we are giving actual value to a function. Where is this value comes from RAM? is it not touching ram at the time of execution? It is comming only from another memory location..but what is difference in term of executions in the visual context? how i can imagine ?