How can you quickly find the number of elements stored in a static 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

Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].

1 Answers  


write a C++ programming using for loop: * * * * * * * * * *

4 Answers   TCS,


What does override mean in c++?

0 Answers  


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

0 Answers  


What will happen if a pointer is deleted twice?

0 Answers   Agilent, HAL,






Write any small program that will compile in "C" but not in "C++"

10 Answers   Honeywell,


Do inline functions improve performance?

0 Answers  


diff between pointer and reference in c++?

1 Answers  


Explain stack & heap objects?

0 Answers  


Difference between declaration and definition of a variable.

0 Answers  


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

0 Answers  


What is rtti in c++?

0 Answers  


Categories