Functions and Memory in C: Getting Started with Pointers
C programming
| Intermediate
- 11 videos | 1h 20m 52s
- Includes Assessment
- Earns a Badge
One of the main reasons C retains its relevance after 50 years is the level of interaction between the programmer and the memory which C allows for. While more modern languages such as Python manage the memory under-the-hood, C allows the user to control all aspects of memory management. At the heart of C's memory management capabilities lie pointers. Begin this course focusing on memory allocation layout and the concepts of stack and heap memory. Then, explore pointers to learn how to view the memory location referenced by the pointer and how to dereference a pointer to view the data at the referenced address or modify data stored at the memory location being pointed to. Finally, use the NULL keyword as both a value and a pointer to the non-existent memory address of 0. Upon completion of this course, you'll be able to use referencing and dereferencing operators in C and properly test for and use NULL values.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecall the memory layout of cRecognize pointers and demonstrate how to use themReference the value in the block of memory referred to by the pointerCreate basic pointersAccess memory locations and the values stored in them
-
Modify variables using pointersCreate pointers from other pointersDereference pointers and view addresses of variablesWork with the null typeSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 6s
-
9m 38sUpon completion of this video, you will be able to recall the memory layout of C. FREE ACCESS
-
9m 28sUpon completion of this video, you will be able to recognize pointers and how to use them. FREE ACCESS
-
6m 47sDuring this video, you will learn how to reference the value in the block of memory referred to by a pointer. FREE ACCESS
-
8m 47sLearn how to create basic pointers. FREE ACCESS
-
6m 29sIn this video, you will learn how to access memory locations and the values stored in them. FREE ACCESS
-
11m 10sLearn how to modify variables using pointers. FREE ACCESS
-
10m 1sDuring this video, you will learn how to create pointers from other pointers. FREE ACCESS
-
9m 21sIn this video, you will dereference pointers and view the addresses of variables. FREE ACCESS
-
4m 55sIn this video, you will learn how to work with the null type. FREE ACCESS
-
2m 12sa16ed023-ebf1-447a-8d9b-ead7f05f5046 FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.