I don't understand how this works:
Does the c compiler magically convert that into:Code:char *set = "abcdefghijklmnopqrstuvwxyz";
??Code:char *set = malloc(28 * sizeof(*set)); strcpy(set, "abcdefghijklmnopqrstuvwxyz"
I don't understand how this works:
Does the c compiler magically convert that into:Code:char *set = "abcdefghijklmnopqrstuvwxyz";
??Code:char *set = malloc(28 * sizeof(*set)); strcpy(set, "abcdefghijklmnopqrstuvwxyz"