Abhinav Ranatechwithabhinav.hashnode.dev·Apr 11, 2023C Programming: Understanding Dynamic Memory Allocationoverview As a structured language, C follows certain prescribed rules for programming. One such rule pertains to altering the size of an array, which is a group of elements that are stored in adjacent memory locations. what is dynamic memory allocati...DiscussC
Lucky Sikolialuckysikolia.hashnode.dev·Mar 20, 2023Memory Allocation in COverview, This article is intended for beginners and aims to provide a clear and concise overview of memory allocation in the C programming language using the malloc, calloc, and realloc functions. Memory allocation is an important aspect of programm...Discuss·3 likes·49 readsC
Vamsi Krishnavamsieth.hashnode.dev·Feb 23, 2023Understanding the memory layout of c programsWhen you write a C program, you need to understand how memory is allocated and managed in your program. The memory layout of a C program is a crucial concept to understand to write efficient and bug-free code. In this article, we'll explore the diffe...Discuss·11 likes·67 readsC
Birnadin Erickhn.methebe.com·Sep 27, 2022C that man? Hang him!A Simple Hangman Game Overview When I first started, making of HANGMAN GAME was the first challenge I put on to me. It was fun and taught me many things I wanted to know and better ace it. Hope it does the same. We will simply create a game that ress...Discuss·1 like·55 readsC
Tony Esehesehtony.hashnode.dev·Aug 22, 2022Segmentation Fault???Segmentation faults (segfaults) are memory related errors that causes programs to crash, when the program tries to read or write an invalid or illegal memory location. Segfaults happen in low level programming languages (C, C++, Fortran, etc) where m...Discuss·1 like·106 readssoftware development
Rahul Goyalrhgoyal.hashnode.dev·Jul 2, 2022Memory structure of a C ProgramWhen we create a C program, its memory management looks something like this. Here we can see different sections that are stack, heap, globals , constants and code. Lets see a brief intro about each section : Stack : This is memory where generally pro...Discuss·1 like·183 readsC