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
Initiation à la programmation (en C++)École Polytechnique Fédérale de Lausanne via Coursera Introduction to Computing 计算概论A
Peking University via Coursera Programming Basics
Indian Institute of Technology Bombay via edX 程序设计基础
Peking University via edX 計算機程式設計 (Computer Programming)
National Taiwan University via Coursera