Q:

What is segmentation fault in C?

0

What is segmentation fault in C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Answer:

A segmentation fault is a common problem that causes programs to crash. A core file (core dumped file) also associated with a segmentation fault that is used by the developer to finding the root cause of the crashing (segmentation fault).

Generally, the segmentation fault occurs when a program tried to access a memory location that is not allowed to access or tried to access a memory location in a way that is not allowed (tried to access read-only memory).

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Embedded C interview questions and answers (2022)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What are the common causes of segmentation fault i... >>
<< What is the difference between Bit Rate and Baud R...