C Program to delete given element from array

In this tutorial, we are going to learn to write C Program to delete a given element from an array. To delete the given element we will compare the given element with the array elements. If we find a match then will delete the element from the array otherwise will check for the next array … Read more

C program to insert element at a given location in Array

In this tutorial, we will learn to write C program to insert an element at the given location in an array. To insert an element at a given location first we have to go to that location and then shift each element towards the right. Or we can also do something like shifting the elements … Read more

C program to insert an element at end of an Array

To write a program in C to insert an element at end of an Array, First of all, we will find the last index of elements. After finding the last index we will add one index and insert an element. Programming logic and working of insertion program in c at end Our Program will take … Read more

C Program to calculate length of an array

In this tutorial, we will learn to write the C program to calculate the length of an array. There are multiple ways to write this program. In this tutorial, we will see two ways. Programming logic to calculate the length of array To calculate the length of array first we will find the size of … Read more

C program to reverse an Array in two ways

In this tutorial, we are going to learn to write a C program to reverse the Array. Here we are not just going to print the array in reverse order, but we will reverse the original array. You can check our program in C to print the array in reverse order. There are multiple ways … Read more

C program to print array in reverse Order

In this tutorial, we will learn to write a C program to print the given array in reverse order. To print the array in reverse order we will just start printing the array starting from the last index to index 0. Here we are basically not reversing the array, We have to just print the … Read more

C Program to sort character of string in descending order

In this tutorial we are going to learn writing C program to sort the characters of string in descending order. Here we will follow the insertion sort algorithm to sort the characters. You can check out c program to sort character of string in ascending order Program in C to sort the character of String … Read more

C Program to sort characters of string

In this tutorial we will learn writing the C Program to sort the characters of String in ascending order. There are multiple sorting algorithms to sort the characters or integers. In this tutorial we will follow the insertion sorting algorithm to compare and sort the characters of the string. You can check insertion sort program … Read more

C program to copy one string to another string

In this tutorial we will learn writing C program to perform copy of one string to another string. There are multiple ways to perform this task like using library function strcpy() or using manual logics. Here we will see both the ways. How our String copy program will work? Our program will take two string … Read more