Sukalyan Roysukalyanroy.hashnode.dev·Apr 1, 2024Exploring PointersPointers Pointers are an important aspect of learning programming. It's a part of every 101 course and used in almost every major algorithm or data structure under the hood for greater performance. it's good to have a basic understanding of pointers,...Discuss·11 likes·41 readspointers
Giang Ngogiangblackk.hashnode.dev·Feb 25, 2024Dangling pointers problem in C vs RustI encounter this original blog about Stack Memory and Dangling Pointer problem in Zig language, then I asked myself, how about other system programming languages, like C language and Rust, do they have the same problem? This blog is a very short arti...DiscussRust
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 27, 2023Basic Pointer Programming QuestionsHere are 10 C programming exercises that focus on pointers: Swap using Pointers: Write a program to swap the values of two integers using pointers. Array Manipulation: Create an array of integers and write a program to find the sum and average of t...DiscussC Programmingpointers
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023Constant Pointer vs. Pointer to a ConstantLet's explore the differences between a pointer to a constant, a constant pointer, and a constant pointer to a constant in C with detailed code examples: Pointer to a Constant: A pointer to a constant is a pointer that points to a constant value. T...DiscussC Programmingpointers
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023What's in a name?In C, pointers and arrays are closely related concepts. In fact, arrays in C are essentially a contiguous block of memory, and the name of the array often decays into a pointer to the first element. This is why you can use pointer notation to access ...DiscussC Programmingarrays
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 23, 2023Even pointers have to do maths!Understanding Pointer Arithmetic in C: A Hands-on Guide Pointer arithmetic is a powerful feature in the C programming language that allows for efficient navigation through memory. It's a concept that often confuses beginners but is fundamental for ta...DiscussC Programmingpointer arithmetic
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 23, 2023Some pointers on pointersIn the C programming language, a pointer is a variable that stores the memory address of another variable. Pointers are powerful and versatile features of C that allow you to work with memory at a low level. Understanding pointers is crucial for task...DiscussC Programmingpointers in c
Anthony NandaaPronandaa.blog·Dec 16, 2023C Pointers DemystifiedIntroduction Pointers are variables that store the address of another variable. Allow us to indirectly access variables (i.e. we can talk about its address rather than its value) Importance of Pointers: More flexible pass-by-reference. Manipulate...Discuss·78 readsComputer Science
Pixelpixelnotes.hashnode.dev·Nov 5, 2023Understanding Pointer Sizes in C/C++Pointers are essential for managing and manipulating data in memory. One common question that arises is how much memory a pointer itself occupies. I used to think if a pointer is of integer type it’ll occupy 4 bytes of memory, but seems like that’s ...Discuss·1 like·32 readsC++
Hamza EL Yousfiinterrupt101.hashnode.dev·Nov 5, 2023Speedy Learning : The operator & applied to structures in CWhen the operator '&' is applied to an object of type 'structure,' it yields a constant pointer whose value corresponds to the address of the first field. Note that the type of the pointer to the first element and the type of the pointer to the struc...DiscussSpeedy LearningC programming language