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 an array

17 Answers  


What will happen if a pointer is deleted twice?

0 Answers   Agilent, HAL,


Why is c++ awesome?

0 Answers  


write the code that display the format just like 1 2 1 3 2 1 4 3 2 1 5 4 3 2 1 6 5 4 3 2 1

5 Answers  


What is a c++ map?

0 Answers  






What are the stages in the development cycle?

0 Answers  


Floating point representation and output seems to be compiler dependent?

1 Answers  


Name four predefined macros.

0 Answers  


What does it mean to declare a member variable as static?

0 Answers  


Define upcasting.

0 Answers  


Problem 6: Area of a trapezoid can be calculated by the following formula: A=(b1 b2)×h2 where b1 and b2 are the parallel sides or the bases and h is length of height Write a C code of this program

0 Answers   Maxobiz,


State the difference between pre and post increment/decrement operations.

0 Answers  


Categories