Report Bug

QusWhich part of the memory does the system store the parameter and local variables of a function call ? Qusमेमोरी का कौन सा भाग सिस्टम फ़ंक्शन कॉल के पैरामीटर और स्थानीय चर को संग्रहीत करता है?


A. Heap
B. Stack
C. Uninitialized data segment
D. None of the above


Solution
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 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad