Question

Write interactive C programs to perform the following on strings:

(a) To check if two strings are Anagram.

(b) To check whether the given alphabet is a vowel or consonant.

(c) To convert the given string from lower case to upper case without using the inbuilt function in

15 Sep 2022
Answer :
Word Count : 502

(a) To check if two strings are Anagram:

#include <stdio.h>
#include <string.h>

int isAnagram(char str1[], char str2[]) {
    int len1 = strlen(str1);
    int len2 = strlen(str2);
    if (len1 != len2) {
        return 0;
    }
    int count[26] = {0};
    for (int i = 0; i < len1; i++) {
        count[str1[i] - 'a']++;
        count[str2[i] - 'a']--;
    }
    for (int i = 0; ___ ____ ___ __________ _______ _________ _______ __________ _____ __________ _____ _________.
_____ __________ ______ ____ _________ ___.
______ ______ _____ _____ ______ _________.
________ _______ _______ ____ __________ __________ __________ ____ _____ _______ _______ ________.
______ ____ ___ _____ _________ _______ ________ _______ ________.
___ __________ _____ __________ ______ _______ ___.
_____ _____ _______ _________ __________ ____ ________ _____ __________ _____.
________ _____ ___ _____ _____ ______ _____ _____.
_________ ____ ____ __________ __________ ______ ________ ______.
______ ____ _______ _________ _______ _________ _____ _____.
_________ __________ ______ ___ ______ _____ ______ _____ ____ __________ ______.
_____ _______ _________ _________ ______ _________.
____ _________ ______ _________ ___ ____ _____ ________ ___ ______ ______.
________ _____ ________ _______ _____ ___ _______.
_____ _______ _______ _________ _____ ______ __________ ____ ______ ___ ___ ____.
____ _________ ____ __________ _______ _______ ______ _______ __________ ____ _________.
__________ ______ _________ ____ ________ _________ _____ ______ ___.
_______ ___ _______ ____ _____ _________.
_____ ______ ____ ______ _____ _________ ___ _______ _____ ___.
________ _________ _____ _________ ________ ________ __________ _____ _____.
__________ _____ ____ ___ _________ ________ ______ ______ __________ ____ ___ _____.
______ ________ ___ _________ ____ ____.
_______ ________ ______ _______ ______ ______ _____ _____.
___ __________ _____ ____ ____ ___ _______ _____ _______ ___ ___.
______ ______ _________ ________ _______ ____ ________ ______ ___ _____ ______ ___.
_________ ________ ____ ______ ____ ____ ______ ____ ________ _________.
______ __________ _____ ___ ___ _________ ___ _______ ____ ________ ______ _________.
_____ _________ ____ __________ ______ ______.
_______ _____ ___ _______ ______ _______ ______ ______ ____ _______ _______.
_____ _____ _________ _____ _______ __________ ___ _______ _________ ___ __________ _____.
___ _____ ___ _______ ___ ___ _______.
__________ ______ ________ ________ ___ ______ ______.
_______ _______ ________ ________ ______ _________ ________ ______ _______ _________ _______.
___ _______ __________ ______ _______ _____ ________ ______.
______ _______ _______ __________ _______ _________ ___ ____ _____.
_____ ______ _____ __________ _____ ______.
________ _____ ________ _________ _______.
__________ _________ __________ ____ ______ __________ ________ _________ ________ _______ ____.
______ _____ ________ ________ ___ ____ ______ __________ ______ ____ ______.
____ _____ __________ ______ ______ _________ _________ ________ ________ ___ _________ _____.
___ _________ ____ __________ __________ ________ ____ ____ _____ _________ __________.
____ ___ __________ ______ __________ _____ _____ ____ _________ __________.
_________ _________ _______ ___ _________ ____ ____ __________ _________ ________ ______ _____.
_________ __________ _________ _______.
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 Write interactive C programs to perform the following on strings:(
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→