---
title: "Discussion on \"Why segmentation fault occurs in C - programming?\" | Hashnode"
description: "Discussion on \"Why segmentation fault occurs in C - programming?\". A segmentation fault, also known as a segfault, is a specific kind of error caused by accessing memory that “does not belong to you.” This can happen in a ."
url: "https://hashnode.com/posts/why-segmentation-fault-occurs-in-c-programming/63c412b1d0cb3cc379fae75d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why segmentation fault occurs in C - programming?](https://devjames.hashnode.dev/why-segmentation-fault-occurs-in-c-programming?utm_source=hashnode&utm_medium=feed)

A segmentation fault, also known as a segfault, is a specific kind of error caused by accessing memory that “does not belong to you.” This can happen in a .

Jan 15, 2023 · 3 min read · devjames.hashnode.dev  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#programming-languages](https://hashnode.com/tag/programming-languages)
-   [#segfault](https://hashnode.com/tag/segfault)
-   [#memory](https://hashnode.com/tag/memory)

## Written by

[James Okolie](https://hashnode.com/@devJames1)

@devJames1 · Lagos, Nigeria

  
[View profile](https://hashnode.com/@devJames1)

I am a web and software developer | Technical writer

I am a Student Software Engineer who loves Documenting and Technical Writing.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
