How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?


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

Post New Answer

More C++ General Interview Questions

What does namespace mean in c++?

0 Answers  


What are the debugging methods you use when came across a problem?

1 Answers  


What is c++ code?

0 Answers  


class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.

2 Answers   Quark,


Define friend function.

0 Answers  






What is istream and ostream in c++?

0 Answers  


List the advantages of inheritance.

0 Answers  


Differences between private, protected and public and give examples.

0 Answers  


How to tokenize a string in c++?

0 Answers  


Write a note about the virtual member function?

0 Answers  


Can c++ be faster than c?

0 Answers  


Explain the volatile and mutable keywords.

0 Answers  


Categories