YoVDO

Pointers in C / C++ [Full Course]

Offered By: freeCodeCamp

Tags

C Programming Courses C++ Courses Pointers Courses Memory Leaks Courses

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

Automated and Connected Driving Challenges
RWTH Aachen University via edX
Basics in computer vision
Higher School of Economics via Coursera
Build a Guessing Game Application using C++
Coursera Project Network via Coursera
ะก/C++ for competitive programming
Moscow Institute of Physics and Technology via Coursera
C++ Interacting with the World and Error Handling
Infosec via Coursera