How can you quickly find the number of elements stored in a
a) static array b) dynamic array ?

Answer Posted / guest

static array

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantage of using register variables?

635


What is meant by forward referencing and when should it be used?

546


What does new do in c++?

631


Can we define a constructor as virtual in c++?

601


Will a recursive function without an end condition every quit, in practice a) Compiler-Specific (Some can convert to an infinite loop) b) No c) Yes

577






How would you find out if a linked-list is a cycle or not?

540


What is null c++?

579


How do you invoke a base member function from a derived class in which you’ve overridden that function?

580


What is the this pointer?

629


How the endl and setw manipulator works?

553


Can we delete this pointer in c++?

676


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

998


Do vectors start at 0 c++?

526


what is a class? Explain with an example.

611


Which software is best for coding?

568