Mastering Pointers in C
- 3 hours on-demand video
- 2 articles
- 1 downloadable resource
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- 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
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.
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.
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.
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.
- 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!
- C Programmers eager to broaden their knowledge