Can we perform dynamic memory allocation in python do we use pointers in it | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can we perform dynamic memory allocation in python do we use pointers in it

12th Jun 2018, 6:31 AM
Maria habib
Maria habib - avatar
2 Answers
+ 2
Unfortunately no, we can't use pointers in Python like in C++. This is because Python is a higher-level language than C++, which allows it to focus more on the software.
12th Jun 2018, 6:54 AM
Gami
Gami - avatar
+ 2
thank you
12th Jun 2018, 6:54 AM
Maria habib
Maria habib - avatar