Answers for "how to check where the segmentation fault in c ocurs"

0

how to know where segfaut is c

gcc program.c -g
Posted by: Guest on December-07-2020
0

how to know where segfaut is c

$ gdb ./a.out
(gdb) run
<segfault happens here>
(gdb) backtrace
<offending code is shown here
Posted by: Guest on December-07-2020

Code answers related to "how to check where the segmentation fault in c ocurs"

Browse Popular Code Answers by Language