Prepare
Practice
Interview
Aptitude
Reasoning
English
GD
Placement papers
HR
Current affairs
Engineering
MCA
MBA
Online test
Login
Value assigned/set at front & rear ends during Initialization of Queue - Data Structure
Home
>>
Category
>>
Programming Language (MCQ) questions
>>
Data Structure
Q. Which value is assigned/set at front and rear ends during the Initialization of a Queue?
- Published on 19 Oct 15
a.
0
b.
1
c.
- 1
d.
infinity
ANSWER: - 1
Related Content
Networking (
207
)
Database (
97
)
C programming (
58
)
Software Engineering (
28
)
SQL (
5
)
HTML (
74
)
Web Technologies (
11
)
Data Structure (
140
)
Operating System (
96
)
Java (
25
)
Oracle (
5
)
C++ (
50
)
Algorithms (
7
)
PL/SQL (
13
)
JavaScript (
7
)
XML (
0
)
CSS (
1
)
Discussion
Sudeshna Chaudhuri
-Posted on 11 Aug 17
It may also be initialized to 0. It depends on the programmer how he wishes to manipulate the code.
Nirja Shah
-Posted on 16 Nov 15
The value of both front and rear will be -1 during the Initialization of a Queue (when the queue is empty).
➨
Post your comment / Share knowledge
Required!
Required!
Invalid Email Id!
Required!
Enter the code shown above:
Please enter the code shown above
(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
MCQs
English
Tutorials
Download
▲