Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

S3L1. Use of * and & | Understanding C - Pointers

Автор: Pyjama Brah!

Загружено: 2025-03-12

Просмотров: 950

Описание:

Companion Repository: https://github.com/pyjamabrah/c-point...

Welcome to this in-depth tutorial on understanding the use of ampersands (&) and asterisks (*) in C programming, specifically when working with pointers! In this video, we dive into the often-confusing world of pointers, exploring how these symbols function in expressions—whether they denote logical operations, memory addresses, or dereferencing. Through hands-on examples, we’ll uncomment and run code step-by-step, dissecting how the compiler interprets these symbols in different contexts. Perfect for beginners and intermediate learners looking to solidify their grasp of C pointers.

🔍 What You’ll Learn:
The difference between & as a logical AND vs. an address-of operator.
How * can mean multiplication or dereferencing, depending on context.
Common pitfalls when mixing pointers and integers in expressions.
Practical examples with compilation and execution to see results in action.

💻 Follow Along:
Grab your code editor and terminal—we’ll be compiling with gcc and running examples to clarify these concepts. Whether you're a student, hobbyist, or aspiring developer, this video will help you master pointers in C!

👍 Like, Subscribe, and Hit the Bell for more programming tutorials. Drop your questions in the comments below!

Timeline:
00:00 - Introduction to Pointers and Symbols
00:06 - Asterisks in Expressions
00:21 - Setting Up the Example
01:02 - Terminal Setup
01:21 - Initial Code Breakdown
02:31 - Compiling and Running the First Example
03:12 - Understanding Addresses and Garbage Values
04:49 - Logical AND with Ampersand
06:09 - Recompiling and Analyzing Output
07:18 - Assigning Pointers with Ampersand
08:32 - Why Pointers Can’t Be ANDed with Integers
09:30 - Address-of Operator Confusion
11:11 - Key Takeaway on Ampersand Usage
12:00 - Type Casting with Ampersand
14:13 - Running the Casted Example
15:45 - Parentheses and Readability
17:41 - Shifting Focus to Asterisks
19:15 - Multiplication Error with Pointers
20:25 - Dereferencing with Asterisks
21:33 - Running the Dereference Example
22:28 - Parentheses for Clarity
23:14 - Conclusion and Practice Encouragement

S3L1. Use of * and & | Understanding C - Pointers

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

S3L2. Array and Pointers   Similarity and differences | Understanding C - Pointers

S3L2. Array and Pointers Similarity and differences | Understanding C - Pointers

Pointers - CS50 Shorts

Pointers - CS50 Shorts

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++

RUST: Язык Программирования, Который ЗАМЕНИТ C и C++

Understanding C - Pointers

Understanding C - Pointers

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

Introduction to Programming - Basics

Introduction to Programming - Basics

Как взломать любое программное обеспечение

Как взломать любое программное обеспечение

you will never ask about pointers again after watching this video

you will never ask about pointers again after watching this video

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

LLM и GPT - как работают большие языковые модели? Визуальное введение в трансформеры

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

TV Art Screensaver: Minimal, Modern Line Art, Scandinavian Art and TV Background | 4K

TV Art Screensaver: Minimal, Modern Line Art, Scandinavian Art and TV Background | 4K

1. Manav Mediratta | SoC Design flow, MIPS, RISC V and Automotive | Embedded Systems Podcast

1. Manav Mediratta | SoC Design flow, MIPS, RISC V and Automotive | Embedded Systems Podcast

Декораторы Python — наглядное объяснение

Декораторы Python — наглядное объяснение

Pointers in C for Absolute Beginners – Full Course

Pointers in C for Absolute Beginners – Full Course

Графический API не имеет значения

Графический API не имеет значения

Как учиться быстро и самому? На примере языков  программирования.

Как учиться быстро и самому? На примере языков программирования.

Строка в массиве символов против указателя на строковый литерал | Учебник по программированию на C

Строка в массиве символов против указателя на строковый литерал | Учебник по программированию на C

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

Забудь VS Code — Вот Почему Все Переходят на Cursor AI

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Что такое Rest API (http)? Soap? GraphQL? Websockets? RPC (gRPC, tRPC). Клиент - сервер. Вся теория

Преломление и «замедление» света | По мотивам лекции Ричарда Фейнмана

Преломление и «замедление» света | По мотивам лекции Ричарда Фейнмана

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]