why does passing C string into function as char* cause runtime error (but passing C string defined as char[] is ok)?
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
106041
Error C2664: 'strcpy' : cannot convert parameter 2 from 'const wchar_t [9]' to 'const char *'.How to solve this error?
136822
Why does a C-Array have a wrong sizeof() value when it's passed to a function?
74336
String literals inside functions: automatic variables or allocated in heap?
101373
Undeclared identifier in C function
7096
What is the difference between char s[] and char *s?
20029
How do you pass a function as a parameter in C?
114892
Segmentation fault - char pointer
105829
Difference between char* and char[]
155564
How to copy a char array in C?
142878
Returning local data from functions in C and C++ via pointer
30066
How to make a char string from a C macro's value?
59401
The simplest way of printing a portion of a char[] in C
43573
Modifying C string constants?
52678
How to convert a C string (char array) into a Python string when there are non-ASCII characters in the string?
103201
C: Behaviour of arrays when assigned to pointers
76550
PInvoke for C function that returns char *