Which data structure is used for recursion?
ریکارشن کے لیے کون سا ڈیٹا اسٹرکچر استعمال ہوتا ہے؟
- Graph
- Queue
- Stack
- None of these
Explanation
- Stack is used for recursion.
- Because it stores function calls in LIFO order during execution.
- Recursion works by repeatedly calling the same function.
- Each call is stored in memory until it completes execution.
Last verified on 08-06-2026
Related MCQs
ایم ایس ورڈ دستاویزات 2007 اور اس کے بعد کی توسیع کیا ہے؟
- .docs
- .dos
- .docx
- None of the above
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر کا جسمانی حصہ کسے کہتے ہیں؟
- Software
- Hardware
- Both A and B
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ہارڈ ڈسک ڈرائیو کے مقابلے میں سالڈ اسٹیٹ ڈرائیو کا کیا فائدہ ہے؟
- SSDs are faster and more durable than HDDs
- SSDs are slower than HDDs
- SSDs cannot store data permanently
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
متعلقہ ڈیٹا کے مجموعے کو کیا کہا جاتا ہے؟
- Database
- Software
- Hardware
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ای میل کس مقصد کے لیے استعمال ہوتی ہے؟
- Sending electronic messages
- Browsing websites
- Editing images
- None of these