Quantcast
Channel: Segmentation fault in c - probably connected with pointers - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by unwind for Segmentation fault in c - probably connected with pointers

The code is rather unsafe. Some issues, not only about the safety but some of these certainly can cause your crash:Input arguments should be const pointers, for clarity.The return value of malloc() is...

View Article


Segmentation fault in c - probably connected with pointers

When I add this function in my program, I get this error: "Segmentation fault". I have found that it is probably connected with pointers.This is my function:void deBoor(double* D, double* t, double x,...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>