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
-
1.Course Overview2m 6sUP NEXT
-
2.Memory Allocation Layout in C9m 38s
-
3.Pointers in C9m 28s
-
4.Dereference Pointers6m 47s
-
5.Creating Pointers to Addresses8m 47s
-
6.Dereferencing and Viewing Addresses of Pointers6m 29s
-
7.Modifying Values Stored in Addresses through Pointers11m 10s
-
8.Creating Pointers to Other Pointers10m 1s
-
9.Dereferencing Pointers and Viewing Memory Addresses9m 21s
-
10.Creating and Dereferencing Pointers4m 55s
-
11.Course Summary2m 12s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform
Digital badges are yours to keep, forever.