Pointers in C / C++ [Full Course]
Offered By: freeCodeCamp
Course Description
Overview
Embark on a comprehensive 3-4 hour course that demystifies pointers in C and C++, enabling you to use them more effectively in your code. Explore a wide range of topics, including pointer types, arithmetic, and void pointers, as well as their applications in arrays, function arguments, and dynamic memory allocation. Delve into advanced concepts such as function pointers, callbacks, and memory leak prevention. Gain practical knowledge through hands-on examples and in-depth explanations, applicable to both C and C++ programming. Developed by experts Harsha and Animesh from MyCodeSchool, this course offers a thorough understanding of pointers, from basic introductions to complex implementations in multidimensional arrays and dynamic memory management.
Syllabus
) Introduction to pointers in C/C++.
) Working with pointers.
) Pointer types, pointer arithmetic, void pointers.
) Pointers to Pointers in C/C++.
) Pointers as function arguments - call by reference.
) Pointers and arrays.
) Arrays as function arguments.
) Character arrays and pointers - part 1.
) Character arrays and pointers - part 2.
) Pointers and 2-D arrays.
) Pointers and multidimensional arrays.
) Pointers and dynamic memory - stack vs heap.
) Dynamic memory allocation in C - malloc calloc realloc free.
) Pointers as function returns in C/C++.
) Function Pointers in C / C++.
) Function pointers and callbacks.
) Memory leak in C/C++.
Taught by
freeCodeCamp.org
Related Courses
3D Art and Audio PipelineUnity via Coursera 3D Interactions and Navigation
Unity via Coursera ABC du langage C
Institut Mines-Télécom via France Université Numerique Abstraction, Problem Decomposition, and Functions
University of Colorado System via Coursera Add Gore to Your Game in Unity
Coursera Project Network via Coursera