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

University of Illinois at Urbana-Champaign

Memory Foundations in C++

University of Illinois at Urbana-Champaign via Coursera

Overview

Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
This course will teach you the memory foundations in C++ you need to successfully understand and work with computer programs. In a world with AI the edge goes to programmers who truly understand what their code is doing, and memory is at the heart of it. Whether you're debugging a tricky issue, optimizing performance, or building data structures, knowing how your program manages memory is essential. This course will guide you through the concepts: how local variables live on the stack, how pass-by-value and pass-by-reference determine whether your data changes across function calls, and how pointers give you direct access to memory addresses. You'll also explore arrays, C-strings, and dynamic memory. Learning how to allocate and free heap memory safely while avoiding common pitfalls like memory leaks and dangling pointers. You'll reinforce your understanding through auto-graded conceptual questions and hands-on coding labs. By the end, you'll have the memory foundations needed to tackle advanced C++ topics like linked lists, trees, and beyond.

Syllabus

  • Syllabus
  • Memory
  • Pointers
  • Arrays and C-Strings
  • Dynamic Memory

Taught by

Jule Schatz

Reviews

Start your review of Memory Foundations in C++

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.