Which data structure is used by a computer's CPU and OS to manage nested function calls, recursion, and the "Undo" (`Ctrl + Z`) feature in text editors?
नेस्टेड फंक्शन कॉल्स, रिकर्शन और टेक्स्ट एडिटर्स में "अनडू" (`Ctrl + Z`) फीचर को मैनेज करने के लिए किस डेटा स्ट्रक्चर का उपयोग किया जाता है?
Solution Breakdown:
-> Because the most recent action must be undone first (and the most recent function call must return first), the LIFO Stack is the ideal structure.
-> Hence, Option (B) is the correct answer.
-> सबसे हाल के कार्य को सबसे पहले वापस लेने (Undo) के लिए LIFO स्टैक का उपयोग होता है।
-> इसलिए विकल्प (B) बिल्कुल सही है।