What is the identity function in c++? How is it useful?
No Answer is Posted For this Question
Be the First to Post Answer
What is a dangling pointer?
Should the member functions which are made public in the base class be hidden?
List down the guideline that should be followed while using friend function.
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.
What is virtual destructor ans explain its use?
Define friend function.
What is the keyword auto for?
What is difference between array and vector in c++?
What is binary object model?
Explain the difference between c & c++?
Out of fgets() and gets() which function is safe to use and why?
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same