Skip to main content
Brave Programmer Logo

BraveProgrammer

BraveProgrammer

HomeProjectsBlogsCoursesLessonsAbout

Site footer

BraveProgrammer

Free coding courses, practical tutorials, and real projects from BraveProgrammer. Learn web development with React, Next.js, and TypeScript.

Navigation

  • Home
  • Projects
  • Blogs
  • Courses

Resources

  • About
  • Lessons

© 2026 BraveProgrammer. All rights reserved.

  1. Courses
  2. /
  3. C Programming Fundamentals

Lesson 13 of 50 · c

Pointers – Basics

Duration: 12 mins

A pointer holds the memory address of another variable.

int x = 10;
int *p = &x;   // p now points to x
printf("%d\n", *p); // dereference → prints 10

Key concepts:

  • & address‑of operator.
  • * dereference operator.
  • Pointers are typed – an int* points to an int.
  • Uninitialized pointers contain garbage addresses – always initialize them to NULL.
Previous: Variable Scope & Storage ClassesNext: Pointer Arithmetic