In this tutorial, you will learn about linear search. Linear search is a very simple and basic search algorithm. It is basically a sequential search algorithm. We have to write a C ...read more
Array
6 postsIn 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