MCQ Answer

Which part of the memory does the system store the parameter and local variables of a function call ?

Which part of the memory does the system store the parameter and local variables of a function call ?

मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है?
Topic : Functions in Python

A. Heap

B. Stack

C. Uninitialized data segment

D. None of the above




Correct Answer is :

B. Stack



Explanation
The local variables and the parameters are always stored in stack segment whereas the references are created at heap segments.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz