[Solved] Reading from brackets and converting it to an array


#include <stdio.h>

#define huh(x) cos = #x

char *cos;

int main(){
    struct huh{//unuse type
        char dummy;
        char cos[];
    };

    huh(abbcabd);

    printf("%c",cos[3]);//print c, array origin 0 in C
    return 0;
}

1

solved Reading from brackets and converting it to an array