Do we have pointers in python like other programming languages

532    Asked by BenButler in Python , Asked on Jul 28, 2021

is there a difference between pointers in python and other programming language?

does pointers in python exist?

Answered by Bruce Benedict

The answer to does python have pointers question is No, we don't have any kind of Pointer in Python language.The objects are passed to function by reference. The mechanism used in Python is exactly like passing pointers by the value in C. We have Python variables which are not a pointer.



Your Answer

Interviews

Parent Categories