A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider the following statements :

S1: A queue can be implemented using two stacks.
S2: A stack can be implemented using two queues.

Which of the following is correct ?
a. S1 is correct and S2 is not correct
b. S1 is not correct and S2 is correct
c. Both S1 and S2 are correct
d. Both S1 and S2 are not correct
Answer:Both S1 and S2 are correct
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here

Similar Questions: