How to find out merged node (node at which two linked list are merged) when the length of two linked list is given?
Latest Answer: "Class" is a logical abstraction, whereas its "instance" has a physical existence (Which is basically called an Object of that class). ...
Latest Answer: Templates are best used when the logic applied on a data is independent of the data type. eg. performing Swap of 2 data items, these data items can be of type in, double, class objects etc.But the operations to be performed on different data type is different ...
Latest Answer: malloc() and calloc() both are use to allocate memory.malloc takes only one argument that is number of memory bytes, mostly we use sizeof() operator, which allocates the memory of that number of byteswhereas calloc uses two argument that is *number ...
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) ...
How can I instantiate only three instances of an application ?If I open 4th instance, I have to close 1st instance like wise if I open 5th one I have to close 2nd one automatically ?
Write a program to find prime numbers using pointers2)Write a program to check armstrong numbers using pointers
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: In c/c++ programming languages 'header' files contains forward DECLARATION of functions, variables and other identifiers. Identifiers that are used more then once in source files are placed in header files, these header files can then be included ...
View page << Previous 1 2 [3] 4 5 Next >>

Go Top