What is the difference between passing by reference and passing a reference?
No Answer is Posted For this Question
Be the First to Post Answer
What is a memory leak c++?
What is else syntax in c++?
Define upcasting.
Explain virtual class and friend class.
Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?
What is the return value of the insertion operator?
Why can templates only be implemented in the header file?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
When to use Multiple Inheritance?
Do you know what is overriding?
What is double in c++?
What do you mean by abstraction in C++?