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

int main() {
    char arr[] = "hello";
    // This assigns ptr to the memory address of the first 'l' in arr
    char *ptr = strchr(arr, 'l');
    printf("ptr is pointing to %c\n", *ptr); // This prints 'l', because we dereference ptr
    // printf("The memory address of the first 'l' in arr is %p\n", ptr); // This prints the memory address of the first 'l' in arr

    return 0;
}