Python : Functions in Python

मेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है? , 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 ?
A. Heap

B. Stack

C. Uninitialized data segment

D. None of the above



Correct Answer :

B. Stack



Explanation
The local variables and the parameters are always stored in stack segment whereas the references are created at heap segments.
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad