Duke University

Pointers, Arrays, and Recursion

Andrew D. Hilton
Anne Bracy
Genevieve M. Lipp

Instructors: Andrew D. Hilton

44,196 already enrolled

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
4.3

(340 reviews)

Beginner level
No prior experience required
Flexible schedule
Approx. 20 hours
Learn at your own pace
95%
Most learners liked this course
Gain insight into a topic and learn the fundamentals.
4.3

(340 reviews)

Beginner level
No prior experience required
Flexible schedule
Approx. 20 hours
Learn at your own pace
95%
Most learners liked this course

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

7 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

Placeholder

Build your subject-matter expertise

This course is part of the Introductory C Programming Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate
Placeholder
Placeholder

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV

Share it on social media and in your performance review

Placeholder

There are 5 modules in this course

Pointers are one of the most important and powerful aspects of the C language. Pointers are critical to understanding arrays, which let you manipulate sequences of data. They also give a programmer control and flexibility when programming, enabling solutions that are clean and efficient. Some other languages use pointers implicitly—or pointer-like constructs—so understanding their use will make you a better programmer in any language.

What's included

5 videos13 readings3 assignments2 programming assignments

Arrays are sequences of memory of the same type that are guaranteed to be one after another. This is an incredibly useful data format, enabling you to store many things together under one variable name. In this module, you will learn how to use arrays to solve more complex problems and lay the groundwork for more complex data types.

What's included

5 videos7 readings1 assignment4 programming assignments

Now that you have mastered the basics of pointers and arrays, it is time to see some important uses of them. In this module, you will learn about how to manipulate strings and multi-dimensional arrays. You will also learn about function pointers, which allow you to pass "which function to call" as the parameter of another function.

What's included

4 videos16 readings2 assignments4 programming assignments

By now you are familiar with iteration, in which repetition is expressed in terms of loops. Another programming technique to accomplish similar ideas is "recursion" in which a more complex instance of a problem is expressed in terms of solutions to simpler instances of the problem. In this module, you will learn how to read and write recursive code, giving you another powerful option for how to approach programming problems.

What's included

9 videos8 readings1 assignment3 programming assignments

Now that you have learned about pointers and arrays, you will build on the code you wrote in Course 2 to build a deck of cards and evaluate a poker hand. In the next course, you will complete the program to calculate poker odds with a Monte Carlo simulation.

What's included

3 readings2 programming assignments

Instructors

Instructor ratings
4.5 (39 ratings)
Andrew D. Hilton
Duke University
18 Courses1,066,895 learners
Anne Bracy
Duke University
4 Courses244,875 learners

Offered by

Duke University

Recommended if you're interested in Software Development

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

Showing 3 of 340

4.3

340 reviews

  • 5 stars

    64.70%

  • 4 stars

    19.70%

  • 3 stars

    5.88%

  • 2 stars

    2.64%

  • 1 star

    7.05%

VT
5

Reviewed on Apr 22, 2020

CF
5

Reviewed on Dec 21, 2019

BG
5

Reviewed on Jun 3, 2019

New to Software Development? Start here.

Placeholder

Open new doors with Coursera Plus

Unlimited access to 7,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions