Segmentation fault (core dumped) with memset in char pointer in C++
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
11145
Why does cout print char arrays differently from other arrays?
92052
Why can't we delete an initialized pointer?
128405
invalid conversion from 'int' to 'char *'
121427
Odd problem with pointer while implementing a linked list
66128
Segmentation fault trying to dereference an iterator
73803
how do I print an unsigned char as hex in c++ using ostream?
157507
Segmentation fault with strcpy()
134680
Why can I change the value of a const char* variable?
108732
Struggling to get number of chars in char*
54235
Converting multidimensional arrays to pointers in c++
82318
What is the difference between char array and char pointer in C?
153118
Segmentation fault using strcat
45814
Crash or "segmentation fault" when data is copied/scanned/read to an uninitialized pointer
96482
returning a pointer to a literal (or constant) character array (string)?
143554
Error while writing strcat() using pointers
119780
How do pointer-to-pointer's work in C? (and when might you use them?)