What about Virtual Destructor?
Answer / guest
Virtual Destructor can be called at runtime and respected
destructor function will be called depending upon the type
of object calling to.
Is This Answer Correct ? | 2 Yes | 0 No |
How do you initialize a class member, class x { const int i; };
What is virtual destructor ans explain its use?
Explain the difference between static and dynamic binding of functions?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
What is the oldest programming language?
Is string an object in c++?
Why do we use pointers in c++?
What is searching? Explain linear and binary search.
What is the difference between #import and #include in c++?
Is structure can be inherited?
How const int *ourpointer differs from int const *ourpointer?
Write a program and call it sortcheck.cpp which receives 10 numbers from input and checks whether these numbers are in ascending order or not. You are not allowed to use arrays. You should not define more than three variables