Mastering Pointers in C
4.0 (57 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,494 students enrolled

Mastering Pointers in C

Learn to use Pointers Confidently and Correctly.
4.0 (57 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,494 students enrolled
Created by Neil Panchal
Last updated 6/2019
English [Auto]
Current price: $14.99 Original price: $24.99 Discount: 40% off
1 day left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3 hours on-demand video
  • 2 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Basics of Pointers and Pointer Notations
  • Dynamic Memory Allocation
  • Pointer-Array Relationship
  • Pointer-Function Relationship
  • Pointer-String Relationship
  • Pointer-Struct Relationship
  • Writing Data-structures
  • Correct use of Pointers with Guidelines
  • Application of Pointers
Course content
Expand all 18 lectures 03:15:13
+ Introduction
1 lecture 03:10

Welcome to the course - Mastering Pointers in C. In this lecture you will get a quick overview of the contents which are going to be covered in this course.

Preview 03:10
+ Setting the Environment
2 lectures 12:23

To compile C Programs on Windows, install the MinGW installer to install GCC compiler packages. Mac Users should download the Xcode app from the Mac Appstore.

Installing MinGW for Windows

In this course, we will be using Atom as our code editor and also to compile and run the codes. In this lecture, i will show you how to set up Atom to begin writing C code.

Setting up Atom for C Programming
+ Basic Pointer Terminologies
15 lectures 02:59:39

In this lecture, you will get the overview of what you are going to learn in this section.

Section Introduction Video

In this article you will get the detailed content table for this section,  so you can directly jump to the topics that interests you.

Section's Detailed Content table with Timestamps

Pointers are basically variables who stores memory addresses. Since pointers are directly related to memory; the understanding of various layers of memory is very important. In this lecture, you will also be introduced with the Memory Diagram which shall be used throughout this course.

Preview 12:52

Pointers stores addresses. Now all variables have an address associated with them. In this video you will learn how to fetch an address of a variable and how to print that address on the screen using various format specifiers.

Variable Address and the Address-Of Operator (&)
Pointer Declaration, Assignment and Dereferencing

The value obtain by dereferencing the pointer can be used as both Lvalue and Rvalue. In this lecture we will see examples of how to use the dereferenced value.

Using Dereferenced Pointer

The type of pointer and the address to which the pointer will point are tightly bounded together. In this lecture your concepts will clarify regarding pointer types and the type of value the pointer will be pointing.

Preview 12:17

Pointers left without assigning any valid address can cause serious problems when accessed later in the program. In this lecture you will learn what are Wild Pointers and how to deal with them effectively.

Wild Pointers

The NULL Concept is very important when dealing with pointers. They are used to initialize the pointers mainly and have found an important role in maintaining Data-structures. In this lecture, I will cover all the concepts and usage of the Null Pointer. Also we will see how the ASCII NUL Character is different from the Null Pointer.

Introducing NULL

Void pointers are the generic pointers which can store the address of any datatype. In this lecture i will show you various benefits and limitations of void pointers.

Void Pointers

In this lecture we will learn about global and static pointers and we will see what is their unique feature.

Global and Static Pointers

Since pointers are also stored in the memory and have their own address, their address can also be assigned to another pointer. In this lecture you will learn about Pointers to Pointers.

Multiple level of Indirection

Using const with Pointers limits some functionality of pointers. When used correctly, you can develop code which less prone to errors. In this lecture you will learn different pointer and const combinations and what are the possible operations in each combinations. You will also learn about multi level indirection with const.

Using const with Pointers

When these 2 operators are used simultaneously, it can become a little trickier to figure out what would be the result of the expression. In this lecture we will learn the process nicely to figure out the result of such expressions.

Simultaneous usage of Address-Of and Dereference operators
MCQ Set 1
5 questions
Coming Soon...
  • Basics of C Programming Language

If you have recently learned the basic C language and are wondering how to explore more and want to deepen your understanding of the language, then you must need to strengthen your knowledge of Pointers.

Pointers undoubtedly, are inseparable from the C language. The use of Pointers allows low-level instructions to be executed in your programs. Yet powerful but difficult to master, Pointers have found applications in system programming and performance programming.

Many new programmers after learning C language, makes improper or bad use of Pointers. This can eventually result into Segmentation faults, Undefined Behavior, accessing disallowed memories etc, which opens up Potential risks for the application and even the operating system.

Knowing the outcomes of Pointer operations is very crucial to make your programs robust. Another thing to keep in mind is pointer operations are system dependent. The memory model used on a particular system also plays an important role in executing the pointer operations.

By Mastering the Pointers, you open up a wide possibilities of functionalities. Like Dynamic Memory Allocation, Function Pointers etc. In this course, you will learn about basic Pointer Notations and operations, Dynamic Memory Allocation, Relation of Pointers with Functions, Arrays and Strings, etc. You will also learn about the important role that pointers play in creating and manipulating Data-structures, which are very important in Computer Science. Not only you will learn about Pointer operations, but I will also give you many Guidelines to properly use the Pointers.

So, if you have some basic knowledge of C, then dive into this Course to Master your Pointer skills, and set yourself apart from Novice programmers!

Who this course is for:
  • C Programmers eager to broaden their knowledge