Is c++ a good beginners programming language?
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 the difference between new/delete and malloc/free?
Keyword mean in declaration?
What is the difference between reference and pointer?
What happens if an exception is throws from an, object's constructor and object's destructor?
What is a catch statement?
what is meaning of isa and hsa
Differentiate between the message and method in c++?
Why would you use pointers in c++?
What do you mean by translation unit?
What are the types of array in c++?
What you mean by early binding and late binding? How it is related to dynamic binding?