C Language Archive
WAP to check the input number is duplicated or not:
Binary Search: Searching technique to search for an element in the array We can apply binary search only on sorted array(elements either in ascending order or descending order). It finds the mid location of array …
Bubble Sort: Simple sorting technique to sort elements in array. We can sort the elements in either ascending order or descending order. In bubble sort, index element always compare with the next element to it …
Two dimensional arrays: Two dimensional arrays are used to store and process the data which is in the form of rows and columns. Generally we process the array elements using loops. To process two dimensional …
Addition of 2 matrices:
Transpose of Matrix:
Find Maximum row sum in a given matrix:
Matrix Multiplication:
Multi dimensional arrays: More than 2 dimensional arrays come under multi dimensional arrays. To process the elements of n dimensions, we use n arrays with nested form The memory representation as follows. The elements of …
String: String is a one dimensional character array. String is a collection symbols(alphabets, digits and special symbols). Strings must be represented with double quotes. Syntax : char identity ; Example: char name; Character …