C Programming Pointers and Memory Management - 4
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 browser tool developed for this course, receiving instant feedback on your code. No need to install anything!
Why learn C and not another programming language? Did you know that smartphones, your car’s navigation system, robots, drones, trains, and almost all electronic devices have some C-code running under the hood? C is used in any circumstance where speed and flexibility are important, such as in embedded systems or high-performance computing.
In this course, you will also gain experience with programming concepts that are foundational to any programming language.
At the end of this course, you will reach the fourth milestone in the C Programming with Linux Specialization, unlocking the door to a career in computer engineering.
Your job Outlook:
- Programmers, developers, engineers, managers, and related industries within scientific computing and data science;
- Embedded systems such as transportation, utility networks, and aerospace;
- Robotics industry and manufacturing;
- IoT (Internet of Things) used in smart homes, automation, and wearables.
- IEEE, the world’s largest technical professional organization for the advancement of technology, ranks C as third of the top programming languages of 2021 in demand by employers. (Source: IEEE Spectrum)
This course has received financial support from the Patrick & Lina Drahi Foundation.
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
Syllabus
Syllabus - What you will learn from this course
Week 1
Welcome
Week 1: Memory and pointers
Week 2
Week 2: Multidimensional arrays
Week 3
Week 3: Dynamic memory allocation
Concluding the course
FAQ
When will I have access to the lectures and assignments?
Access to lectures and assignments depends on your type of enrollment. If you take a course in audit mode, you will be able to see most course materials for free. To access graded assignments and to earn a Certificate, you will need to purchase the Certificate experience, during or after your audit. If you don't see the audit option:
The course may not offer an audit option. You can try a Free Trial instead, or apply for Financial Aid.
The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile. If you only want to read and view the course content, you can audit the course for free.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
Reviews