Question: What C library function does the default python interpreter calls when it needs to allocate memory to a Python structure, such as a variable or

What C library function does the default python interpreter calls when it needs to allocate memory to a Python structure, such as a variable or array? Which one is used for garbage collection?
Question 1Answer
a.
brk() and sbrk()
b.
pyalloc() and pyfree()
c.
set() and unset(), respectively.
d.
malloc() and free(), respectively.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!