Which data structure uses LIFO (Last In, First Out) principle?
کون سا ڈیٹا اسٹرکچر لیفو اصول پر عمل کرتا ہے؟
- Stack
- Queue
- Linked List
- None of these
Explanation
- A Stack follows the LIFO (Last In, First Out) principle.
- The last element added to the stack is the first one to be removed.
- Elements are inserted using Push and removed using Pop operations.
- Stacks are commonly used in function calls and expression evaluation.
- It is a linear data structure.
Last verified on 10-06-2026
Related MCQs
ٹھ کے ڈسپلے کی معیاری پکسل ریزولوشن کتنی ہوتی ہے؟
- 1920 x 1080
- 3840 x 2160
- 7680 x 4320
- 1024 x 768
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈی وی ڈی کس چیز کی مثال ہے؟
- Hard disk
- Optical Disk
- Output devices
- Solis-State Storage Devices
اس سوال کو وضاحت کے ساتھ پڑھیں
ڈیٹا میں ردوبدل کو اور کیا کہا جاتا ہے؟
- Data Processing
- Data Storage
- Data Mining
- Data Retrieval
اس سوال کو وضاحت کے ساتھ پڑھیں
ورلڈ وائیڈ ویب کو رابرٹ کیلِیو کے ساتھ کس نے ایجاد کیا؟
- Tom Burne
- Tim Burner Lee
- Fred Zuckerberg
- Both a and b