Posts by tunixbsd • 13 points
1 post
-
1
votes2
answers352
viewsQ: Segmentation failure in malloc() function
I am having a segmentation fault error when I have imploded a dynamical array of pointers to be able to store the contents of a row-by-row file. size_t file_mem_init(char ***ptr,FILE * file){ size_t…