I have this char array that will hold a string(name) but i want to make it where the size of that array is what the user inputs
char src[MAX_LINE_LEN];
printf("String Copy:\n");
printf("Enter dest (string you want to copy to: ");
scanf("%s", dest);
int n = csc225_getline(dest, MAX_LINE_LEN);
dest[] = dest[n]; ```
like for example this snippet of code
i have dest char array then i ask user to input a string for it