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

C program to count alphabets, digits and special characters

C Program To Count Alphabets, Digits And Special Characters

In this tutorial we will learn writing C program to count the total occurrence of alphabets, digits and special characters in a given string. To store the occurrence for all this three types, we need three integer variable that will work as counter. Also check this similar program C Program to count the occurrence of … Read more

C Program to Replace First Occurrence Of Vowel With ‘-‘ in String

C Program To Replace First Occurrence Of Vowel With - In String

In this tutorial we will learn writing the C program to replace first vowel of string with symbol ‘-‘ . This program will be very easy because we just have to find first character which is vowel and then replace it with ‘-‘. You can see this program C Program to check given character is … Read more

C program to print the highest frequency character in a String

C Program To Print The Highest Frequency Character In A String

In this tutorial we will learn writing program in C  to print the highest frequency character In A String with count. This program will be little bit tricky. We will have one integer variable which will store the counter and one char variable to store character. How our highest frequency char counter program will work? … Read more