String Exercises
Write a C program to read elements in a matrix and check whether the given matrix is symmetric matrix or not. How to check symmetric matrix in C. Logic to check symmetric matrix in C programming.
Required knowledge
Basic C programming, C for loop, Array, Pointer, functions,
List of string programming exercises
- C program to find length of a string using Loop.
- C program to find length of a string using while Loop.
- C program to find length of a string using while Loop(transform while to an empty).
- C program to find length of a string using while Loop and pointer.
- C program to find length of a string using strlen() string function.
- C program o copy one string to another string without using strcpy() and using for Loop.
- C program to copy one string to another string using while Loop.
- C program to copy one string to another string using while empty Loop.
- C program to copy one string to another string using while empty Loop and pointers.
- C program to copy one string to another string using strcpy() function.
- C program to concatenate two strings using while loop.
- C program to concatenate two strings using while empty loop.
- C program to concatenate two strings using while empty loop and pointers.
- C program to concatenate two strings using strcat() function.
- C program to compare two string without using string library functions and with using loop.
- C program to compare two string using pointer.
- C program to compare two string using strcmp() function.
- C program to convert string lower case to uppercase.
- C program to convert string lower case to uppercase using Loop and pointer.
- C program to convert lowercase to uppercase string using strupr().
- C program to convert uppercase to lowercase string using Loop.
- C program to convert uppercase to lowercase string using strlwr() string function.
- C program to toggle case of a string using while loop / लूप का उपयोग करते हुए एक स्ट्रिंग के मामले को टॉगल करने के लिए सी प्रोग्राम।
- C program to count total number of alphabets, digits and special characters in a string using pointers and while loop / सी प्रोग्राम पॉइंटर्स और लूप का उपयोग करके स्ट्रिंग में कुल अक्षर, अंकों और विशेष वर्णों को गिनने के लिए।
- C program to count total number of vowel or consonant in a string using for loop./ लूप का उपयोग करके स्ट्रिंग में स्वर या व्यंजन की कुल संख्या को गिनने का सी प्रोग्राम।
- C program to count total number of vowel or consonant in a string using switch case. / C प्रोग्राम स्विच केस का उपयोग करके स्ट्रिंग में कुल स्वर या व्यंजन की संख्या की गणना करने के लिए।
- C program to count total number of vowel or consonant in a string using switch case and pointer. / C प्रोग्राम स्विच केस और पॉइंटर का उपयोग करके एक स्ट्रिंग में स्वर या व्यंजन की कुल संख्या की गणना करने के लिए।
- C program to count number of word in string using unlimited while loop. / सी प्रोग्राम लूप में असीमित का उपयोग करते हुए स्ट्रिंग में शब्द की संख्या की गणना करने के लिए
- C program to find reverse of a string using while loop. | लूप का उपयोग करके स्ट्रिंग के रिवर्स खोजने के लिए सी प्रोग्राम।
- C program to find reverse of a string using while loop and pointer. | सी प्रोग्राम लूप और पॉइंटर का उपयोग करते हुए एक स्ट्रिंग के रिवर्स खोजने के लिए।
- C program to find reverse of a string using strrev() function. | सी प्रोग्राम स्ट्र्रेव () फ़ंक्शन का उपयोग करके एक स्ट्रिंग के रिवर्स खोजने के लिए।
- C program to check whether a string is palindrome or not using while loop. | सी प्रोग्राम यह जांचने के लिए है कि लूप करते समय कोई स्ट्रिंग पैलिंड्रोम है या नहीं।
- C program to check whether a string is palindrome or not using string functions. | C प्रोग्राम यह जांचने के लिए है कि क्या कोई स्ट्रिंग पैलिंड्रोम है या स्ट्रिंग फ़ंक्शन का उपयोग नहीं कर रहा है।
- C program to reverse order of words in a string using while loop.| लूप का उपयोग करके स्ट्रिंग में शब्दों के क्रम को रिवर्स करने का कार्यक्रम।
- C program to find the first occurrence of a character in a string using while loop. | लूप का उपयोग करते हुए एक स्ट्रिंग में एक चरित्र की पहली घटना को खोजने के लिए सी कार्यक्रम।
- C program to find the last occurrence of a character in a string using while loop. | सागर कार्यक्रम के साथ विली लूप का उपयोग करते हुए स्ट्रिंग में चरित्र की अंतिम घटना का पता लगाएं।
- C program to search all occurrences of a character in a given string using while loop. | सी प्रोग्राम के साथ विली लूप का उपयोग करते हुए दिए गए स्ट्रिंग में एक पात्र के सभी अवसरों को खोजें।
- C program to count the total number of occurrences of a character in a string using a while loop. | सी प्रोग्राम एक लूप का उपयोग करके स्ट्रिंग में एक चरित्र की घटनाओं की कुल संख्या को गिनने के लिए।
- C program to find the maximum occurring character in a string using a while loop. | सी प्रोग्राम एक लूप का उपयोग करके स्ट्रिंग में अधिकतम होने वाले चरित्र को खोजने के लिए।
- C program to find the minimum occurring character in a string using a while loop. | सी प्रोग्राम एक लूप का उपयोग करके स्ट्रिंग में न्यूनतम होने वाले चरित्र को खोजने के लिए।
- C program to count the frequency of each character in a string using a for a loop. | लूप के लिए उपयोग करके स्ट्रिंग में प्रत्येक वर्ण की आवृत्ति को गिनने का सी प्रोग्राम।
- C program to remove the first occurrence of a character from string using a while a loop. | सी प्रोग्राम एक लूप का उपयोग करके स्ट्रिंग से एक चरित्र की पहली घटना को हटाने के लिए।
- C program to remove the last occurrence of a character from the string using a while a loop. | थोड़ी देर लूप का उपयोग करके स्ट्रिंग से एक चरित्र की अंतिम घटना को हटाने के लिए सी कार्यक्रम।
- C program to remove all occurrences of a character from the entered string using a while a loop.| सी प्रोग्राम एक लूप का उपयोग करते हुए दर्ज स्ट्रिंग से एक चरित्र की सभी घटनाओं को हटाने के लिए।
- C program to remove all repeated characters in the entered string using a while a loop. | सी प्रोग्राम एक लूप का उपयोग करते हुए दर्ज स्ट्रिंग में सभी दोहराया पात्रों को हटाने के लिए।
- C program to replace the first occurrence of a character in the entered string using a while a loop. | C प्रोग्राम एक लूप का उपयोग करते हुए दर्ज स्ट्रिंग में एक चरित्र की पहली घटना को बदलने के लिए।
- Write a C program to replace last occurrence of a character with another in a string.
- Write a C program to replace all occurrences of a character with another in a string.
- Write a C program to find first occurrence of a word in a given string.
- Write a C program to find last occurrence of a word in a given string.
- Write a C program to search all occurrences of a word in given string.
- Write a C program to count occurrences of a word in a given string.
- Write a C program to remove first occurrence of a word from string.
- Write a C program to remove last occurrence of a word in given string.
- Write a C program to remove all occurrence of a word in given string.
- Write a C program to trim leading white space characters from given string.
- Write a C program to trim trailing white space characters from given string.
- Write a C program to trim both leading and trailing white space characters from given string.
- Write a C program to remove all extra blank spaces from given string.