#include <stdio.h>

void checkch(char str[], char ch);

int main() {
    char name[] = "Aaseem ahmed";
    checkch(name,'A');
}

void checkch(char str[], char ch){
    for (int i=0; str[i]!='\0'; i++) {
        if (str[i] == ch) {
            printf("Included");
            return;
        }
    }
    printf("Not Included");
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: