Segmentation fault (core dumped) in C, The C Programming Language by K&R Exercise 2.5
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
103201
C: Behaviour of arrays when assigned to pointers
57267
Short circuit behavior of logical expressions in C in this example
33195
Segmentation fault error occurs for a simple function I have coded
138837
How to write a while loop with the C preprocessor?
156492
Object oriented programming in C
30607
Bug: unable to handle kernel NULL pointer dereference at
121194
strcpy : Implementation method
157247
The ternary (conditional) operator in C
139637
Pointer arithmetic for void pointer in C
13700
Error handling in C code
101012
Simulation of templates in C (for a queue data type)
154573
Segmentation Fault, large arrays
61030
Deep Analysis of Const Qualifier in C
5688
void main() { if(sizeof(int) > -1) printf("true"); else printf("false"); ;
76629
Why is this string reversal C code causing a segmentation fault?
115439
strtok segmentation fault