segmentation fault and i dont know why
805
Why do I get a segmentation fault when writing to a "char *s" initialized with a string literal, but not "char s[]"?
70909
Segmentation fault occurring when modifying a string using pointers?
10445
pointer increment and dereference (lvalue required error)
5064
How to find the 'sizeof' (a pointer pointing to an array)?
149415
Programme crashes while deallocating a character array
7096
What is the difference between char s[] and char *s?
116048
Char array in a struct - incompatible assignment?
35533
Writing to pointer out of bounds after malloc() not causing error
103597
C++ Error: Incompatible types in assignment of ‘char*’ to ‘char [2]
56606
Why is main() in java void?
72449
Having problems with accessing struct
75672
What is a segmentation fault?
66128
Segmentation fault trying to dereference an iterator
153118
Segmentation fault using strcat
91174
Weird initialization in C
55487
Can someone help what is incorrect in this program?
149347
Segmentation fault while taking string from user