C Program to sort a String in Ascending order

In this tutorial, we will write a c program to sort a string array in ascending order. Before that, you may go through the following topics in C C Program to sort a String in Ascending order Output: Enter the string: programs After sorting, the string appears:agmoprrs

C Program to Compare two Strings using strcmp()

In this tutorial, we will Compare Strings Using strcmp() function in C. But if you want to learn more about String you may go through the following topic in C. strcmp() function is used to compare two string to each other and returns an integer value. The syntax for strcmp() in c: strcmp(first_string, second_string); The … Read more

C Program to Check whether the entered character is capital, small letter, digit or special character

In this tutorial, we will write a program to check whether the entered character is capital, small letter, digit or any special character using C programming. Here, we will write two different C program, 1. Using library function The following C program Check whether the entered character is capital, small letter, digit or special character … Read more

C String – strchr() function

strchr() function in C is used to search the stated character in a string. It searches the string for the character and stops when the first time the character is found. And if the string needs to be printed, only the character starting from the searched character to the end is printed. The strchr() function … Read more