If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first

a) 1

b) 5

c) 3


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is the output of the following program? Why?

0 Answers  


Explain the term memory alignment?

0 Answers  


What size is allocated to the union variable?

0 Answers  


Is c++ the best programming language?

0 Answers  


Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be

0 Answers  






What is the size of pointer ? Also size of pointer in 64 bit pointer

4 Answers  


Can static member variables be private?

0 Answers  


What is the difference between prefix and postfix versions of operator++()?

0 Answers  


What will i and j equal after the code below is executed? Explain your answer.

1 Answers  


What is a mutex and a critical section.Whats difference between them?How do each of them work?

4 Answers   CTS,


What are the differences between a struct and a class in C++?

7 Answers   Amazon, Wipro,


How to give an alternate name to a namespace?

0 Answers  


Categories