It depends on how you look at it, but...
Python also has a pointer.
However, it is not possible to allocate or operate memory directly like language c.
This is the same as the language that does not have a pointer, such as Java or Dotnet.
So how do you use memory...
Use a function called Reference to use the memory address.
When you create an object, it is created in the heap memory space and the memory address is stored in the local variable, etc.
This allows you to control the stored variables.
© 2024 OneMinuteCode. All rights reserved.