Blog
Page 704 of my articles, tutorials, and thoughts
Latest Articles
What are the barriers to understanding pointers and what can be done to overcome them?
๐ Breaking Down Pointers: Overcoming the Confusion ๐๐ Are you feeling perplexed and scratching your head over the concept of pointers in C or C++? You're not alone! Pointers are notorious for causing confusion, not just for newcomers but also for seaso
How many levels of pointers can we have?
๐๐๐ Welcome to my tech blog! Today, we will dive deep into the world of pointers ๐ and answer the intriguing question: "How many levels of pointers can we have?" ๐ Let's start with a simple example: ```c int a = 10; int *p = &a; ``` In this code sn
What is Linuxโs native GUI API?
๐๐ก **Welcome to my Tech Blog!** ๐ Today, we're going to tackle a common but sometimes perplexing question in the Linux world: What is Linux's native GUI API? ๐ฅ๏ธ As a Linux user or enthusiast, you may have come across this query before, and it's time
Static linking vs dynamic linking
# Static Linking vs Dynamic Linking: Unraveling the Performance Mystery ๐ Have you ever wondered what the buzz is all about when it comes to static linking vs dynamic linking? Are you looking to optimize your program's performance, but don't know which a
What is array to pointer decay?
# ๐ค Demystifying Array to Pointer Decay: An Essential Guide ๐ง ๐ Introduction: Welcome to another exciting blog post where we unravel the mysteries of the coding universe! Today, we'll be diving deep into the concept of "Array to Pointer Decay" and expl
Why is the use of alloca() not considered good practice?
๐๏ธ **Title: The Dark Side of alloca(): Why It's Not Considered Good Practice** Introduction: Hey there tech enthusiasts! ๐ Let's dive into an interesting topic today: the not-so-beloved function ๐๐๐๐๐๐(). Have you ever wondered why using ๐๐๐๐๏ฟฝ
When is assembly faster than C?
# When is assembly faster than C? ๐ฎ๐จ Have you ever wondered if writing code in assembly language can actually be faster than using a higher-level language like C? ๐ค While it's commonly believed that assembly can outperform C, it's important to note tha
C pointer to array/array of pointers disambiguation
๐ **Understanding C Pointers and Arrays: Demystifying Ambiguous Declarations** ๐ง๐ก Hello there, fellow tech enthusiasts! ๐๐ค Are you struggling to decipher the meaning behind those seemingly confusing C declarations involving pointers and arrays? Fear
What is the difference between using a Makefile and CMake to compile the code?
# What's the Deal with Makefile and CMake? ๐ค๐ง If you're coding in C/C++ and have been using a Makefile to compile your code, you might have heard about CMake and wondered what the difference is between the two. ๐คทโโ๏ธ In this blog post, we'll dive into






