Friend functions can access private and protected members of a class.
Answer / nashiinformaticssolutions
Virtual destructors ensure proper cleanup of resources in derived classes when deleting through a base class pointer.
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between pointer to constant and constant pointer to a constant. Give example.
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
write a program in c++ to implement stack using functions in header file stack.h
What are the advantages of c++?
What is the identity function in c++? How is it useful?
What is the need of a destructor? Explain with the help of an example.
What is c++ redistributable?
They will ask u question about single linked list?. Write Code for to insert delete node.
Differentiate between late binding and early binding. What are the advantages of early binding?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What are pointer-to-members? Explain.
What is the difference between map and hashmap in c++?