trying to copy one char pointer to another but getting segmentation fault
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
13659
Why scanf is behaving weird for char input?
116048
Char array in a struct - incompatible assignment?
95915
Pointer to pointer clarification
152295
initializing char arrays in a way similar to initializing string literals
105829
Difference between char* and char[]
138470
Copying a part of a string (substring) in C
7096
What is the difference between char s[] and char *s?
100311
Declaring a pointer to multidimensional array and allocating the array
82400
Why can´t we assign a new string to an char array, but to a pointer?
12683
How to access a local variable from a different function using pointers?
2324
Assigning strings to arrays of characters
45298
Deleting char* after assigning it to a string variable
155564
How to copy a char array in C?
52534
Difference between int and char in getchar/fgetc and putchar/fputc?
12022
Memory Allocation char* and char[]
69674
C Language, scanf issue with char's