Do you know what are pure virtual functions?
No Answer is Posted For this Question
Be the First to Post Answer
What is an adjust field format flag?
What is slicing?
Tell me can a pure virtual function have an implementation?
What is the difference between C and CPP?
Can we use resume in error handling i.e. in the catch block
How did c++ start?
What is function overriding?
Explain friend class?
What is the difference between new/delete and malloc/free?
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 rvalue?
Can notepad ++ run c++?