C- main segmentation fault, string problem - how to solve
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
117987
Print part of a string in C
145852
Using strtok() in nested loops in C?
87669
C input - getchar()
14400
Segmentation fault: 11 in OS X
128405
invalid conversion from 'int' to 'char *'
19798
C strcpy does not work when copying to a pointer in a simple program?
115439
strtok segmentation fault
51214
invalid conversion from ‘const char*’ to ‘char’
43497
Segmentation fault reversing a string literal
155564
How to copy a char array in C?
5597
conflicting with my own String.h
90947
Why can't I run this C program?
120826
calling main() in main() in c
45298
Deleting char* after assigning it to a string variable
45814
Crash or "segmentation fault" when data is copied/scanned/read to an uninitialized pointer
39981
Pointer will not work in printf()