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
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?
What is the importance of mutable keyword?
Define pure virtual function?
Difference between a copy constructor and an assignment operator.
Which bit wise operator is suitable for turning off a particular bit in a number?
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Why was c++ created?
Is python written in c or c++?
What relational operators if statements in c++?
Are there interfaces in c++?
Does c++ have foreach?
You want to link a c++ program to c functions. How would you do it?
What is math h in c++?
What is meant by the term name mangling in c++?
What does it mean to declare a destructor as static?