Shivam Dubeygo-tutorial.hashnode.dev·Nov 24, 2024Mastering Memory: A Beginner's Guide to Comparing Pointers in GoIn Go, pointers are a powerful tool for working with memory. While understanding how to use pointers is essential, knowing how to compare pointers is equally important for managing memory effectively. In this article, we will explain how to compare p...comparing pointers in go
Shivam Dubeygo-tutorial.hashnode.dev·Nov 23, 2024A Beginner's Guide to Pointers in GoWhen working with Go, understanding memory management and pointers can help you write more efficient and optimized code. In this article, we’ll explain pointers, their role in memory management, and how to use them effectively. What Are Pointers? A ...Go Language
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...pointers in c
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...C
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...170 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...Pointers 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 ...Pointers in CC
Srimanth Mantripragadamantri-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) ...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...global 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 ...17 likesGo Deep: Mastering Golang FundamentalsGo Language