We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- C
- Arrays and Strings
- Dynamic Array in C
- Discussions
Dynamic Array in C
Dynamic Array in C
Sort by
recency
|
378 Discussions
|
Please Login in order to post a comment
Why is this giving segmentation fault?
hi! it seams the challange is made out wrong. no matter what i do i get the error :
double free or corruption (out) Program received signal SIGABRT, Aborted.
in the debuger my code works just fine untill it reaches :free(*(total_number_of_pages + i))
And i cant fix that part of the code becausi it is locked, I dont think is my faulth that the writen code tries to free memory 2. times.Any sugestions?