Write about a nested class and mention its use?
No Answer is Posted For this Question
Be the First to Post Answer
How do you find out if a linked-list has an end?
What do you mean by call by value and call by reference?
What is the use of "new" operator?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Is it possible to write a c++ template to check for a function's existence?
What is a namespace in c++?
Is structure can be inherited?
write a program to insert an element into an array
Definition of class?
Is it possible to provide special behavior for one instance of a template but not for other instances?