25.8.20
This website uses cookies to ensure you get the best experience on our website. Learn more

Functions and Memory in C: Getting Started with Pointers

Skillsoft issued completion badges are earned based on viewing the percentage required or receiving a passing score when assessment is required. 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.

Issued on

December 20, 2022

Expires on

Does not expire