How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?


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

Post New Answer

More C++ General Interview Questions

Explain the static storage classes in c++.

0 Answers  


What is the difference between set and map in c++?

0 Answers  


When are exception objects created?

0 Answers  


What are the two types of comments?

0 Answers  


What is a null object in c++?

0 Answers  






Why would you make a destructor virtual?

3 Answers   Lehman Brothers,


Can we declare a base-class destructor as virtual?

0 Answers  


How do you establish a has-a relationship?

0 Answers  


What does new return if there is insufficient memory to make your new object?

0 Answers  


Show the declaration for a pointer to function returning long and taking an integer parameter.

0 Answers  


What are the four partitions in which c++ compiler divides the ram?

0 Answers  


find the two largest values among the 6 numbers using control structures : do-while,for,if else,nestedif- else ,while. one or two of them.

0 Answers  


Categories