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

C program to check given two string are equal or not

In this tutorial we are going to learn writing C program to check given two string are equal or not. There is multiple way to check this one. In this tutorial we will learn two ways to do this. First we will see using the library function and second we will use own logic to … Read more

C program to remove blank space from string

In this tutorial we are going to write a program to remove all blank spaces available in the string. The logic we are going to use will be very similar to the below program. You can check it out C program to replace blank space of string with given character. How our space removal program … Read more

C program to separate characters in a given string

C Program To Separate Characters In A Given String

In this tutorial we are going to learn writing program in c to separate the characters in a given string. Basically separating means we are just going to print characters one by one from the given string. How separate character C program will work? C Program to separate characters in String Output