Explain pass by value and pass by reference.
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
How do you show the declaration of a virtual constructor?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?
What language does google use?
What is meant by the term name mangling in c++?
List out some of the OODBMS available?
What is a storage class in C++
What are mutator methods in c++?
What is a try block?
Why cout is used in c++?
What are signs of manipulation?
Why was c++ made?