C Program to Print All Permutations of a Given String

This is a C program to permute all the letters of an input string. This algorithm finds all permutations of the letters of a given string. It is a recursive algorithm using concept of backtracking. Here is the source code of the C program to permute all letters of an input string. The C program … Read more

advertisement

C Program to Input 2 Binary Strings and Print their Binary Sum

This C Program takes an input to 2 binary strings and print their binary sum. Here is a source code of the C program to input 2 binary strings and print their binary sum. The C program is successfully compiled and run on a Linux system. The program output is also shown below. /* * C … Read more

advertisement

C Program to Remove Characters in Second String which are present in First String

This is a C Program to remove all characters in second string which are present in first string. Problem Description This C Program removes all characters from second string which were present in the first string. Problem Solution Take input from the user and perform string operations as shown in the program below. Program/Source Code … Read more

advertisement

C Program to Convert Integer to String and Vice-versa

This is a C Program which converts an integer to string & vice-versa. Problem Description This C Program converts an integer to string and vice-versa. Problem Solution Take input from the user and perform string operations as shown in the program below. Program/Source Code Here is a source code of the C program to convert … Read more

advertisement

C Program to Count the Occurrence of Each Character in String

This C Program counts the number of occurrence of each character ignoring the case and prints them. Here is a source code of the C program to count the number of occurrence of each character in a string ignoring their case and also prints them. The C program is successfully compiled and run on a … Read more

advertisement

C Program to Find Frequency and Position of Characters in a String

This is a C program to check whether a given character is present in a string, find frequency & position of occurrence. Problem Description This C Program checks whether a given character is present in a string, find frequency & position of occurrence. Problem Solution This C Program checks whether a given character is present … Read more

advertisement

C Program to Count Particular Repeated Word in a String

This is a C Program to count the number of repeated occurrences of a particular word in a string. Problem Description This C Program counts the number of repeated occurrences of a particular word in a string. Problem Solution Take input from the user and performs string operations to count the repeated occurrences of a … Read more

advertisement

C Program to Find the Sum of ASCII values of all Characters in a String

This is a C Program to find the sum of ascii values of all characters in a string. Problem Description This C Program finds the sum of the ASCII values of all characters that were used in a string. Problem Solution Take input from the user and extract ascii values in the given string as … Read more

advertisement

C Program to Check if Two Strings are Permutation of Each Other

This C Program determines if the two entered strings are circular permutation of another string. Eg: yzx is a circular permutation of xyz but not zyx. Here is a source code of the C program to determine if the two entered string are a circular permutation of one another. The C program is successfully compiled … Read more

advertisement

ASCII Value Program in C

Ascii value of a character is the numerical value associated with it. Each Character has a unique ascii value ranging from 0-127 (128 characters in total). Examples: Ascii Value of ‘a’ is: 97 Ascii Value of ‘A’ is: 65 Problem Description Write a C program to find the ascii value of a character or a … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.