---
title: "Discussion on \"A brief note on how malloc() works in C\" | Hashnode"
description: "Discussion on \"A brief note on how malloc() works in C\". malloc() is a C Standard Library function that is defined in stdlib.h header file.\nThe name malloc stands for Memory Allocation. \nDefinition :\nmalloc() is a function that is used to dynamically allocate a block of memory with the specified size at ru..."
url: "https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215"
---

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

Discussion

# [A brief note on how malloc() works in C](https://blog.akshayraichur.com/how-malloc-works-in-c?utm_source=hashnode&utm_medium=feed)

malloc() is a C Standard Library function that is defined in stdlib.h header file. The name malloc stands for Memory Allocation. Definition : malloc() is a function that is used to dynamically allocate a block of memory with the specified size at ru...

Feb 16, 2021 · 4 min read · blog.akshayraichur.com  
Read the article

-   [#c](https://hashnode.com/tag/c)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#operating-system](https://hashnode.com/tag/operating-system)
-   [#unix](https://hashnode.com/tag/unix)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Akshay Raichur](https://hashnode.com/@akshayraichur)

@akshayraichur · Belagavi, India.

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

Software Engineer at Meesho

Software Engineer at Meesho, who loves JavaScript &amp; web ❤️ Startup Enthusiast | Travel 🛫 | Photography 📸 | Badminton 🏸 | Tech 💻

## Responses 4

Markdown supported · ⌘↵ to post

[Hare Krishna Rai](https://hashnode.com/@harekrishnarai)

[May 16, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/60a0d04823723215ec2fcc03)

I must had to find it earlier, too easily explained.😁

[Aagam Sheth](https://hashnode.com/@AagamSheth)

[Feb 18, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602ddba0de5647175427f2b1)

Great Article. Looking forward to read more from you.

[Akshay Raichur](https://hashnode.com/@akshayraichur)

[Feb 24, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602ddba0de5647175427f2b1#reply-6036224f05efef7f0a9d3137)

Thanks Aagam!

[Girish Patil](https://hashnode.com/@evilhead)

[Feb 17, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602cb87cd78c410f41b3de80)

Nice one Akshay, waiting to read more of your articles.

[Akshay Raichur](https://hashnode.com/@akshayraichur)

[Feb 17, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602cb87cd78c410f41b3de80#reply-602cbfbcd78c410f41b3df0b)

Thank you 🙌🏻

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Feb 17, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602cae6db76f9808b488ecee)

Nice article, Akshay!

[Akshay Raichur](https://hashnode.com/@akshayraichur)

[Feb 17, 2021](https://hashnode.com/posts/how-malloc-works-in-c/602bfd75b76f9808b488e215/comment/602cae6db76f9808b488ecee#reply-602cb502d78c410f41b3de0f)

Thanks Catalin!
