C Program to Compare two Strings using strcmp()

In this tutorial, we will Compare Strings Using strcmp() function in C. But if you want to learn more about String you may go through the following topic in C. strcmp() function is used to compare two string to each other and returns an integer value. The syntax for strcmp() in c: strcmp(first_string, second_string); The … Read more

C Program to Multiply Two Matrices

In this section, we will write a C Program to Multiply Two Matrices using multi-dimensional array. You may go through the c topics below, before starting. Matrix multiplication in C: We can add, subtract, multiply or divide two matrices in C. The program takes inputs for the numbers of rows and columns and elements themselves. And … Read more

C Program to Access an element in 2-D Array

In this tutorial, we will write a Program to access an element in 2D Array in C. Before that, you should have knowledge of the following C programming topics. Accessing Array Elements 2D Array is of 2 Dimensional, one determines the number of rows and another is for columns.Example: arr[0][1] refers element belonging to the zeroth … Read more

C Program for deletion of an element from the specified location from Array

In this tutorial, we will write a C program to delete elements from an array at a specified position. We will specifically learn two different programs: Example: By position. InputInput array elements: 11 22 30 42 50Specify the position to delete: 3 OutputArray elements: 11 22 42 50 Example: By Value. InputInput array elements: 11 … Read more

Program to Reverse the Array Elements in C

In this tutorial, we will learn C Program to Reverse an Array element. Before continuing, you should have knowledge of the following topics in C programming. Revering an array element: The entered array of integers will be reversed and displayed. Example: Input: arr = {1, 2, 3, 4, 5, 6} Output: Reversed arr: {6, 5, … Read more