Answers for "Segmentation fault"

10

segmentation fault

A segmentation fault (aka segfault) is a common condition that causes programs
to crash; they are often associated with a file named core.

Segfaults are caused by a program trying to read or write an illegal memory
location
Posted by: Guest on November-27-2020
14

segmentation fault

Segfaults are caused by a program trying to read or write an illegal memory location
Posted by: Guest on April-26-2020
5

segmentation fault means

## Segmentation Fault ##

when it will come ? READ Conditions below ...

- segmentation fault comes when you have an array of 10 size and
  you are accessing the arr[12] so you are accessing the unknown memory
  which is not yours so it will gives you error...
  
- If you are asking for memory but it doesnt have any memory left so error...

...so both conditions above will gives you error as segmentation fault.
Posted by: Guest on February-10-2021
0

Segmentation fault

A segmentation fault 

(also known as a segfault) is a typical cause of programme crashes,

and it's often linked to a file called core. Segfaults occur when a programme attempts
to read or write to an invalid memory address.
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language