Question

Without using built-in string functions, write a menu-driven C program using switch-case to perform the following on two strings:

(i) Count the number of vowels in each string

(ii) Check whether both strings are palindromes

(iii) Replace a character with another

(iv) Find the frequency of each character

12 Sep 2025
Answer :
Word Count : 544
To solve this problem in C without using built-in string functions, we need to manually handle strings using arrays and loops. The program will provide a menu to perform the requested operations on two input strings. ```c #include #define MAX 100 // Function to calculate the length of a string manually int stringLength(char str[]) { int length = 0; while (str[length] != '\0') { length++; } return length; } // Function to count vowels in a string int countVowels(char str[]) { int count = 0; for (int i = _________ ____ ______ ____ _____ _________ __________ _____ ___.
__________ ________ _________ ___ ___ _______.
____ _____ ______ ______ _____ ______ _____ ________ ______ _____ ____ ___.
____ __________ ________ _____ _______.
________ __________ _____ _______ ____ ___ ________ ___ ____ _________ ____.
______ ______ ________ __________ _______ _______ __________ ______.
____ __________ _______ _______ ___ _____ __________ _____ _____.
_________ _____ ____ __________ ________ _____ __________ _______.
___ ____ ___ _________ __________ __________ ___ ___ _____ _________ _________.
______ ________ ____ ________ _______ ____ _______ _____ ____ __________.
_______ ______ _____ _____ ___ _____ ________ ______ ________.
_______ __________ ________ __________ ________ ______ _____.
_______ ____ ____ ______ __________ ________ _____ _______ _______ ______.
______ __________ _______ _____ _______ ____ _______ _____ _________ ___ ______ _________.
__________ _________ ____ ________ ______ ____.
_______ _______ ____ _________ ________ ________ ____ ________.
_______ _____ ______ __________ ________.
_____ ___ _____ ______ ______ ___ _________ ________ _______.
_________ ____ __________ ________ ____.
____ ______ _________ ___ ________ __________ _______.
____ _______ __________ ________ ______ ____ ____.
_________ ________ _______ _______ ________ _____ _________ ________ _________ ____ _________.
________ ______ __________ _____ _______.
_______ ______ _________ _____ ________ ___ _______ ___ ___.
__________ _____ _______ ________ _______ _________ _________ ____.
______ _________ ____ ___ _____ ____ _____.
______ _______ ___ _______ ______ ______.
____ _____ _________ _________ _______ __________ ________ _________ __________ ____ ________ _______.
__________ _______ ______ _____ ___ _____ ______ _______ _______.
____ _______ _______ ___ _______ _____ __________ ____.
_______ __________ ________ _________ _______.
_________ __________ _______ _______ ___ _________ _____ _____.
_________ ____ ________ ________ ___ _______ ______ _______ ____ _______ ___ ___.
_________ ______ _______ ______ ___ ________ ________ _______ _____ ____ __________ __________.
___ ______ _____ _________ ____ ______ __________.
__________ __________ _____ _______ __________ _________ ______ _______ ____.
_________ ____ __________ ___ __________ ______.
___ ______ _______ ______ ________ ________ ____.
________ ____ ___ ____ __________ ________.
______ ____ __________ _________ _______ ______ _________ _________ _______.
___ __________ _____ ______ __________ _______ ___.
________ _____ ______ __________ _________ ________ ______ _______.
________ _________ __________ _____ _______ ________ __________ _________ ______ __________.
_____ _________ _________ __________ _________ _____ __________ __________ __________.
________ _____ ______ ______ ___ _________ ________ ________ _______ _________ __________.
______ _________ __________ ______ _________ ________ _______ _________ __________.
_______ ___ ___ ______ _________ _____ _________ _________ ________ ____.
___ _____ _________ ______ _____.
________ ____ _______ _____ _______ _______ __________ _________ _______ _____ ___ _______.
________ _________ ________ _______ __________ ________ ______ _________ __________.
_____ ________ __________ _______ _____ _______ ___ __________ __________ _________.
______ _________ _______ _______ _________ _________ ____.
_____ ______ __________ _____ _____ ______ ________ __________ ______ __________ ____.
_______ ________ ______ ___ ________.
____.
Get Full Answer on WhatsApp
IGNOU NEWS
Assignment Submission Last Date Extended Till 30 June 2026 Click Here★★★IGNOU June 2026 TEE Date Sheet Released Click Here★★★
Top
📞
Call Support Instant phone assistance Without using built-in string functions, write a menu-driven C program
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→