Computer Science · Python Programming
यदि किसी फ़ंक्शन के अंदर एक वेरिएबल (स्थानीय वेरिएबल) बनाया जाता है, तो फ़ंक्शन का निष्पादन समाप्त होने और मान वापस करने के बाद उस वेरिएबल का क्या होता है?
- 1अन्य वेरिएबल्स के साथ भ्रम से बचने के लिए इसे स्वचालित रूप से रीनेम कर दिया जाता है।
- 2यह 'नष्ट' हो जाता है या मेमोरी से हटा दिया जाता है और इसका मान अब सुलभ नहीं रहता है।✓
- 3यह हार्ड ड्राइव में स्थायी रूप से सहेजा जाता है।
- 4यह शेष प्रोग्राम के जीवनकाल के लिए ग्लोबल मेमोरी में संग्रहीत रहता है।
सही उत्तर देखें
यह 'नष्ट' हो जाता है या मेमोरी से हटा दिया जाता है और इसका मान अब सुलभ नहीं रहता है।
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Programming