Which of the following principle does Array use?

By: Prof. Dr. Fazal Rehman | Last updated: February 3, 2024

Which of the following principle does Array use?

(A). Linear data structure

(B). FIFO

(C). Hierarchical data structure

(D). None of these

Question’s Answer: Linear data structure

FIFO means first element added to the queue is the first one to be removed from queue.

Data Structure Principle
Array linear data structure without an inherent ordering principle
Stack LIFO
Queue FIFO
Linked List linear data structure without an inherent ordering principle
Tree hierarchical data structure without an inherent ordering principle

Example

Output

Please Enter 5 numbers:
3
4
5
7
1
You entered:
3
4
5
7
1

All Copyrights Reserved 2025 Reserved by T4Tutorials