Sandeep Raveendra Kollisandeepkolli.hashnode.dev·Sep 29, 2024Pointer Data TypeIf I want to store the address of a variable, then what data type should I use to declare another variable? - Here is the solution. Solution is… If we declare a variable to store the address of a value (i.e., a pointer), the data type of the pointer...Discusspointers in c
Zouhair Grirzouhairgr-blog.hashnode.dev·Sep 24, 2024How to Use unsigned char* for Memory Manipulation in CWhat is unsigned char* in C and Why Do We Use It? In C programming, memory manipulation is an important task. One way to work with memory is by using the unsigned char* type. This type allows you to treat memory as a series of bytes, which is useful ...DiscussC#
Zouhair Grirzouhairgr-blog.hashnode.dev·Sep 24, 2024The Importance of Pointers for Strings in C ProgrammingWhen working with C, one of the core aspects you'll encounter is how data is passed to functions. Specifically, when dealing with strings, you'll see a common pattern like this: size_t ft_strlen(const char *str); In this blog, we’ll break down why w...Discuss·1 likeC#
Bhuwan Sharmabhuwan.hashnode.dev·Sep 22, 2024C Tutorial -6 (Pointers, pass by value, pass by reference)#include<stdio.h> #include<stdlib.h> // Q.2 Passing a pointer j to a function and printing its address. void print_address(int* j){ printf("%d\n", j); printf("%d", *j); } // Q.3 Program to change the value of a variable to ten times of its current va...DiscussC
Joel Doonan-Ketteringham (LupusInferni)stellarwolf.hashnode.dev·Sep 18, 2024A New Approach to Handling Pointers in C#Introduction Handling pointers in managed languages such as C# presents a unique set of challenges, especially when interacting with unmanaged code. Unlike C++, where pointers are a fundamental part of the language, C# abstracts away direct memory ac...Discuss·168 readspointers
Aman Kumaraksaman.wtf·Sep 14, 2024Understanding pointers with structs in cThis is the second part of the series Understanding C pointer shenanigans. If you already understand pointers, go ahead, but if want to get a better understanding of pointers in c, go to the part 1, read that and come back. Now, as you are here, i ho...DiscussPointers in CC
Aman Kumaraksaman.wtf·Sep 14, 2024Understanding C pointer shenanigansThis is a two part series about pointers in c:Find part 2 here: Understanding pointers with structs in c Pointers are,...well, pointers, like literally they point at things. So, If on. the road you ask me do you own a cafe, i'll say no. But, i know ...DiscussPointers in CC
Srimanth MantripragadaforDSA In Pythonmantri-1724774733617.hashnode.dev·Sep 7, 2024Article 3 of learning DSA in Python.Classes & Pointers In DSA, classes & pointers play a very important role in data structures. For example, a linkedlist has the following functions in it: def __init__(self,value) def append(self,value) def pop(self) def prepend(self,index,value) ...Discuss·10 likes·37 readsclasses
abhishek kumaraksilearntocoder.hashnode.dev·Aug 10, 2024Learn C# with OOPS Concept(Memory Management)Lets understand memory management with simple C# Program as given below:- class Employee { int Employee_Id; //member variables/instance variable of a class string Employee_Name; public static void Main() { Employee objEmployee=new Employee(); } } Que...Discussglobal memory
Arya M. Pathakarya2004.hashnode.dev·Aug 4, 2024Understanding Pointers, Reference and Value Semantics in GoUnderstanding the distinction between pointer and value semantics in Go is crucial for writing efficient, maintainable, and bug-free code. In this blog post, we’ll delve into some special cases in Go where understanding reference and value semantics ...Discuss·17 likesGo Deep: Mastering Golang FundamentalsGo Language