Functions and Memory in C: Getting Started with Pointers

C programming    |    Intermediate
  • 11 videos | 1h 20m 52s
  • Includes Assessment
  • Earns a Badge
Rating 4.3 of 131 users Rating 4.3 of 131 users (131)
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 course
    Recall the memory layout of c
    Recognize pointers and demonstrate how to use them
    Reference the value in the block of memory referred to by the pointer
    Create basic pointers
    Access memory locations and the values stored in them
  • Modify variables using pointers
    Create pointers from other pointers
    Dereference pointers and view addresses of variables
    Work with the null type
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 6s
  • 9m 38s
    Upon completion of this video, you will be able to recall the memory layout of C. FREE ACCESS
  • Locked
    3.  Pointers in C
    9m 28s
    Upon completion of this video, you will be able to recognize pointers and how to use them. FREE ACCESS
  • Locked
    4.  Dereference Pointers
    6m 47s
    During this video, you will learn how to reference the value in the block of memory referred to by a pointer. FREE ACCESS
  • Locked
    5.  Creating Pointers to Addresses
    8m 47s
    Learn how to create basic pointers. FREE ACCESS
  • Locked
    6.  Dereferencing and Viewing Addresses of Pointers
    6m 29s
    In this video, you will learn how to access memory locations and the values stored in them. FREE ACCESS
  • Locked
    7.  Modifying Values Stored in Addresses through Pointers
    11m 10s
    Learn how to modify variables using pointers. FREE ACCESS
  • Locked
    8.  Creating Pointers to Other Pointers
    10m 1s
    During this video, you will learn how to create pointers from other pointers. FREE ACCESS
  • Locked
    9.  Dereferencing Pointers and Viewing Memory Addresses
    9m 21s
    In this video, you will dereference pointers and view the addresses of variables. FREE ACCESS
  • Locked
    10.  Creating and Dereferencing Pointers
    4m 55s
    In this video, you will learn how to work with the null type. FREE ACCESS
  • Locked
    11.  Course Summary
    2m 12s
    a16ed023-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.

YOU MIGHT ALSO LIKE

Rating 4.5 of 201 users Rating 4.5 of 201 users (201)
Rating 4.2 of 111 users Rating 4.2 of 111 users (111)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 44 users Rating 4.5 of 44 users (44)
Rating 4.5 of 18 users Rating 4.5 of 18 users (18)
Rating 4.4 of 64 users Rating 4.4 of 64 users (64)