Given a doubly linked list containing N nodes, the task is to delete all the odd nodes from the list. Examples : Input: Initial List = 14 15 5 6 16 Output: Read more →
Latest tutorials
505 postsJava and C++ are the two most popular programming languages. Although they have many differences, there are quite a lot of similarities between them. Let us look into the similarities between Java Read more →
1. Message Message in OOPS refers to data used during interaction of different objects. The objects interact with each other by passing messages(data). To interact with each other objects do not need Read more →
In this article, we have discussed various methods to multiply two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 30 Method-2 : Read more →
In this article, we have discussed various methods to divide two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 2 Method-2 : Read more →
In this article, we have discussed various methods to subtract two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: -1 Method-2 : Read more →
In this article, we have discussed various methods to add two numbers in C++. These are simple program, you can learn them easily. Method-1 : With Hardcoded Inputs Output: 11 Method-2 : Read more →
Array is collection of items having same data type stored in contiguous memory location. An array is derived data type in C programming language which can store similar types of data in Read more →
1. C language : C was developed by Dennis Ritchie between the year 1969 and 1973 at AT&T Bell Labs to write Operating System. It is a procedural programming language and does Read more →
These two can be allowed by some compiler, but does not a standard. In both language C and C++, there is standard for it. In case ‘main()’ or ‘void main()’ : We Read more →