Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Pointers in C / C++ [Full Course]

via freeCodeCamp

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

Reviews

5.0 rating, based on 1 Class Central review

Start your review of Pointers in C / C++ [Full Course]

  • Profile image for Mohammad
    Mohammad
    Hello and thanks for this free course. You teach me the concept of pointers in c / c++. Keep moving.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.