What is a dangling pointer in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What do you mean by inheritance in c++?
Is swift a good first language?
What do you mean by pure virtual functions in C++? Give an example?
declare an array of structure where the members of the structure are integer variable float variable integer array char variable access all elements of the structure using dot operator and this pointer operator
What is c++ similar to?
Write about the stack unwinding?
How to change constant values?
What is static function and static class?
What does asterisk mean in c++?
Disadvantages of c++
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.
Define namespace in c++?