Abhishek kushwahaabbhishek.hashnode.net·Jun 13, 2022Pointers in COverview A pointer is a variable whose value is the address of another variable of the same type. The variable's value that the pointer points to is accessed by dereferencing using the * operator. There are different types of pointers such as null, v...Discuss·20 likes·74 readsC
Ayushmaan Shrotriyaengineeringunchained.hashnode.net·Mar 17, 2023Never ask about pointers againPointers are infuriating but pointless. If you're into c or c++, you may have heard about pointers because direct memory manipulation is common in these languages. If you're coming from any high-level programming language like Java or Python, you may...Discuss·16 likes·37 readsC++
ThankGod Kelechi Ebiritgkommands.hashnode.net·Mar 12, 2023Exploring the Power of Pointers in C: Examples and Use CasesPointers in C programming are one of the most tricky concepts to understand. this can be attributed to its usage in c programming. A simple explanation of pointers is a pointer is the address of a piece or collection of data in memory. pointer variab...Discuss·2 likes·92 readspointers in c
Fridahfridah.hashnode.net·Apr 22, 2023How to Print Multiple Data Types with a Single Function in CThis code is a C program that allows you to print any combination of strings, characters, integers and floats using a single function. The main idea of this program is to use variadic functions and a list of structs to identify the type of each argum...DiscussC
Fridahfridah.hashnode.net·Apr 21, 2023Creating a Simple Calculator in C using structs and function pointersThis is a C program that performs basic arithmetic calculations based on the command line arguments provided to it. The program takes three command line arguments, the first and third arguments are the two operands, and the second argument is the ope...Discusspointers in c
Fridahfridah.hashnode.net·Apr 18, 2023Understanding Structs and Memory Allocation in C: A Comprehensive Guide with Example CodeThis code defines a struct for a dog, creates a new dog using a function, and then frees the memory used by the dog using another function. The struct named dog defines the information that a dog should have, which includes the dog's name, age, and o...DiscussC
Ayushmaan Shrotriyaengineeringunchained.hashnode.net·Mar 17, 2023Never ask about pointers againPointers are infuriating but pointless. If you're into c or c++, you may have heard about pointers because direct memory manipulation is common in these languages. If you're coming from any high-level programming language like Java or Python, you may...Discuss·16 likes·37 readsC++
ThankGod Kelechi Ebiritgkommands.hashnode.net·Mar 12, 2023Exploring the Power of Pointers in C: Examples and Use CasesPointers in C programming are one of the most tricky concepts to understand. this can be attributed to its usage in c programming. A simple explanation of pointers is a pointer is the address of a piece or collection of data in memory. pointer variab...Discuss·2 likes·92 readspointers in c
James Okoliedevjames.hashnode.net·Dec 17, 2022The major difference between a pointer and an array in CIn C, an array is a fixed-size collection of elements of the same type. A pointer is a variable that stores the memory address of a value or another variable. There are several key differences between pointers and arrays in C: Array elements are sto...Discuss·42 readsC
Abhishek kushwahaabbhishek.hashnode.net·Jun 13, 2022Pointers in COverview A pointer is a variable whose value is the address of another variable of the same type. The variable's value that the pointer points to is accessed by dereferencing using the * operator. There are different types of pointers such as null, v...Discuss·20 likes·74 readsC