C Program to Calculate length of an array

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 C program to calculate the length of integer array Output C program to … Read more

C program to reverse an Array in two ways

C Program To Reverse An Array

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

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

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

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

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? C Program to copy string without … Read more

C program to print all non repeating character in String

C Program To Print All Non Repeating Character In String

To find the non repeating characters in a given string, we will first iterate the each characters of string and records the count. To records the counts we will have one more integer array which will store the frequency of each characters. At last will print only those character that occurs only one time. How … Read more

C program to calculate sum of integers in string

C Program To Calculate Sum Of Integers In String

In this tutorial we are going to learn writing C program to calculate the sum of integers given in string. This program is not that much tough as we have to find the available integer in string and then add them to print the output. How our program to calculate sum of integers work? C … Read more

C program to remove repeated character from string

C Program To Remove Repeated Character From String

To remove repeated character from string, we will traverse the each character of string. And while traversing will also compare to the next character. If same character is available in string and we will just remove the string and shift the element towards left. You can also see the below program. Some part of logic … Read more

C program to concatenate two strings

C Program To Concatenate Two Strings

In this tutorial we are going to learn writing C program to concatenate two given strings. To concatenate we have multiple ways to do. Here we will see two ways first one using library function strcat() and second one using manually using loop concepts. How our string concatenate program will work? C program to concatenate … Read more

Hi, Welcome back!
Forgot Password?
Don't have an account?  Register Now