What is the difference between while and do while loop? Explain with examples.
No Answer is Posted For this Question
Be the First to Post Answer
Can user-defined object be declared as static data member of another class?
WHO DEVELOPED C++?
Is std :: string immutable?
What is pure virtual function?
What is general format for a prototype?
What is a pure virtual function? Why is it represented as = 0...how is the internal implementation for the same
Do you know what are static and dynamic type checking?
Where the memory to the static variables is allocated?
Explain abstraction.
Difference between strdup and strcpy?
What is the use of endl in c++ give an example?
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.