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.
SegFault means you are trying to access a memory address you are not allowed to. It's propably because you are not reallocating the memory of the arrays each time you add a new element in type 1 querry. Use realloc function.
Dynamic Array
You are viewing a single comment's thread. Return to all comments →
SegFault means you are trying to access a memory address you are not allowed to. It's propably because you are not reallocating the memory of the arrays each time you add a new element in type 1 querry. Use realloc function.