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

Why cout is used in c++?

0 Answers  


Explain the use of vtable.

0 Answers  


How is computer programming useful in real life?

0 Answers  


What is the Standard Template Library?

1 Answers  


Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300

0 Answers  






What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?

0 Answers  


How can a '::' operator be used as unary operator?

1 Answers  


What is dev c++ used for?

0 Answers  


What is the two main roles of operating system?

0 Answers  


If a function doesn’t return a value, how do you declare the function?

0 Answers  


Define basic type of variable used for a different condition in C++?

0 Answers  


What is the difference between while and do while loop? Explain with examples.

0 Answers  


Categories