TrueschoTruescho
All Courses
C Programming: Pointers and Memory Management
edX
Course
Beginner
Free to Audit
Certificate

C Programming: Pointers and Memory Management

Dartmouth College

Continue building your coding skills along your path to becoming a proficient C programmer by mastering the concept of pointers and memory management. Receive instant feedback on your code right within your browser.

3 hrs/week5 weeksEnglish28,106 enrolled
Free to Audit

About this Course

In this course, we will examine a key concept, foundational to any programming language: the usage of memory. This course builds upon the basic concept of pointers, discussed in C Programming: Modular Programming and Memory Management, and introduces the more advanced usage of pointers and pointer arithmetic. Arrays of pointers and multidimensional arrays are addressed, and you will learn how to allocate memory for your own data during program execution. This is called dynamic memory allocation at runtime using pointers. Within moments you will be coding hands-on in a new browser tool developed for this course, receiving instant feedback on your code. No need to install anything! In this course, you will gain experience with programming concepts that are foundational to any programming language. At the end of this short course, you will reach the fourth milestone in the C Programming with Linux Professional Certificate program, unlocking the door to a career in computer engineering. This course has received financial support from the Patrick & Lina Drahi Foundation.

What You'll Learn

  • Visualize the concept of a pointer and use it to pass variables to functions by reference in order to modify them via the function
  • Apply pointer arithmetic in order to address elements of both one-dimensional and multi-dimensional arrays
  • Use arrays of strings to store lists of strings in one array variable
  • Control memory usage by dynamically allocating and freeing memory at runtime

Prerequisites

  • C Programming: Getting Started For Complete Beginners DART.IMT.C.01C Programming: Language Foundations DART.IMT.C.02C Programming: Modular Programming and Memory Management DART.IMT.C.03OR equivalent skills.

Instructors

P

Petra Bonfert-Taylor

Professor, Thayer School of Engineering

R

Rémi Sharrock

Associate Professor, Telecom ParisTech

Topics

Memory Management
Linux
Programming Concepts
C Dynamic Memory Allocation

Course Info

PlatformedX
LevelBeginner
PacingUnknown
CertificateAvailable
PriceFree to Audit

Skills

إدارة الذاكرة
لينكس
مفاهيم البرمجة
التخصيص الديناميكي للذاكرة في C

Start Learning Now