Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
No Answer is Posted For this Question
Be the First to Post Answer
Define virtual constructor.
given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().
What is virtual base class?
What is function overloading c++?
Mention the purpose of istream class?
How do pointers work?
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.
How do you differentiate between overloading the prefix and postfix increments?
What is a modifier in c++?
What does getch() do according to the ANSI C++ standard a) Reads in a character b) Checks the keyboard buffer c) Nothing in particular (Its not defined there)
What is private inheritance?
how is returning structurs from functions?Show an eg?