Functions and Memory in C: Leveraging Pointers with Arrays & Functions
C programming
| Intermediate
- 11 videos | 1h 19m 40s
- Includes Assessment
- Earns a Badge
Pointers are some of the most important building-blocks of C and are used with a variety of data types. In particular, pointers have a special relationship with arrays, because an array is effectively a pointer to a contiguous block of memory used to hold elements of a specific type. In this course, you will create both arrays and pointers to those arrays. Next, take a deeper dive into the nuances of arrays and pointers and discover how to use pointer arithmetic as a method of viewing array elements. Finally, explore passing pointers and arrays into functions. After completing this course, you'll be able to leverage the equivalence between pointers and arrays, use pointer arithmetic, and return pointers from functions.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseIllustrate how arrays are pointersCreate an array and access it through its pointerDistinguish the finer points of arrays and pointersOutline key concepts of pointer arithmetic for arraysView the address of elements in an array using pointer arithmetic
-
Create a pointer to view array elementsPass pointers into functionsPass arrays into functionsReturn pointers from functionsSummarize the key concepts covered in this course
IN THIS COURSE
-
2m 21s
-
5m 49sAfter completing this video, you will be able to illustrate how arrays are pointers. FREE ACCESS
-
7m 25sLearn how to create an array and access it through its pointer. FREE ACCESS
-
8m 42sLearn how to distinguish the finer points of arrays and pointers. FREE ACCESS
-
8m 10sDuring this video, you will learn how to outline key concepts of pointer arithmetic for arrays. FREE ACCESS
-
9m 32sIn this video, find out how to view the address of elements in an array using pointer arithmetic. FREE ACCESS
-
9m 25sIn this video, learn how to create a pointer to view array elements. FREE ACCESS
-
7m 58sDuring this video, you will learn how to pass pointers into functions. FREE ACCESS
-
7m 47sIn this video, you will learn how to pass arrays into functions. FREE ACCESS
-
9m 33sIn this video, learn how to return pointers from functions. FREE ACCESS
-
2m 59sf80f673b-ee1f-4447-a5f1-e3fb25058701 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.