![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() Related Questions Latest Answer : Disadvantage:- You cann't create object of that particular class.Advantage:- you can bound the user to use the static function of that class to create the object so that your function can keep track of all the objects created ,according to the ... Latest Answer : Dangling pointer leads the memory leak problems. The following circumstances are memory leak ( dangling pointers ), not for good programming practice , try to avoid1) Try to avoid the empty object pointer creation2) Memory allocation without de allocation.3) ... Read Answers (2) | Asked by : karibasi Tags : Pointer Latest Answer : Advantages:* Increasing the programming performance , Using pointers we can able to access the variables faster* Dynamic memory management * Data structure handling (Linkedlist, Stack ,Queue, Data dictionary,....)* File management using FILE pointer ... Tags : Pointer What is auto pointer ? What is the use of this ? Latest Answer : Auto pointer is nothing but, Proper memory management ( memory Allocation and deallocation).In C++ there is class template "auto_ptr" this is good example for auto pointer. Only we need to allocate a memory using the "auto_ptr" class ... Tags : Pointer Latest Answer : pointers that do not point to a valid object of the appropriate type. Dangling pointers arise when an object is deleted or deallocated, without modifying the value of the pointer, so that the pointer still points to the memory location of the deallocated ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||