[Day 17] - pointer arithmetic (addition and subtraction) (and a warning with sizeof!)
►C Programming playlist: • C Programming Series ►Find full courses on: https://courses.mshah.io/ ►Join as member to get perks: / @mikeshah ►Lesson Description: In this lesson I show you how to use pointer arithmetic in the C language. In fact, we have already been using it quite a bit when accessing information in arrays. I'll show you that when we use arithmetic, we are actually offsetting the number of bytes of the underlying type. In addition, I'll show you subtraction (hah!), and something to be a little careful of as well with the memory allocator. 00:00 introduction 00:36 Setup and explanation of array memory layout 2:22 Brackets dereference, and the offset is the pointer arithmetic. 5:35 Using sizeof to find our types size 7:00 Experimenting with sizeof -- just size of stack variable! 11:06 Pointer subtraction to show you allocation boundary 16:20 Conclusion ►Please like and subscribe to help the channel! ►YouTube Channel: / mikeshah ►Join our free community: https://courses.mshah.io/communities/...
![[Day 18] - memset, memcpy, strcpy, memmove](https://i.ytimg.com/vi/TGlePWhNgY0/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLC6StVcA-0glOzf5SS1txCzofuVNA)
[Day 18] - memset, memcpy, strcpy, memmove

First Day learning the C Programming Language - Crash Course in C Programming

Space Complexity Explained | Master Big O Notation

Why C and C++ Still Matter — And Why Most People Struggle to Learn Them

Why The Russian Accent Terrifies Everyone

Coding is HARD, Till You Try the Harvard approach.

Trump Crashes the NBA Finals Party, Throws Unhinged Tantrum on Meet the Press: A Closer Look
![[Day 23] - Fixed width types and bool in C](https://i.ytimg.com/vi/XR6ofUpjfB4/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLBaAGPdiJF_pY17NmiNGuM67zY0dA)
[Day 23] - Fixed width types and bool in C

“Hello, world” from scratch on a 6502 — Part 1

C_75 Pointers in C-part 5 | Pointer Arithmetic (Addition) with program

I am done with Golang

One Formula That Demystifies 3D Graphics

Pointer Arithmetic (Addition)

My Golden Retriever Heals a Terrified Rescue Kitten in Just 3 Meetings!

Something is jamming GPS over Europe. Here's what we found

Stop Rambling: The 3-2-1 Speaking Trick That Makes You Sound Like A CEO

Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025

you can learn assembly in 10 minutes (try it RIGHT NOW)

