C for Everyone, Part 1: Programming Fundamentals
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
C for Everyone, Part 1: Programming Fundamentals
This course is part of multiple programs.
Instructor: Ira Pohl
342,074 already enrolled
Included with
Learn more
Ask Coursera
6,785 reviews
Recommended experience
6,785 reviews
Recommended experience
What you'll learn
Write, compile, and debug C programs using correct syntax, data types, control structures, functions, and arrays.
Apply core programming concepts to solve computational problems and implement common algorithms.
Identify, analyze, and troubleshoot logical errors in C programs, applying debugging strategies to write clear, well-structured code.
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- 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
There are 6 modules in this course
This course is for everyone. In the new world we live in, coding is a universally valuable skill, whether you're a scientist, artist, or a humanist. Algorithms are everywhere, and we all have to understand how they work. The C language is particularly well suited as an introduction to coding: It's a tried-and-true language, and it allows you to understand computing processes at a deep level.
This course is the first part of a two-course sequence. It is a hands-on introduction to programming in C, designed to guide learners step by step from the basics of syntax and data types to more advanced concepts such as control flow, functions, recursion, arrays, and pointers. Through video lessons, quizzes, programming exercises, and real debugging tasks, learners build foundational concepts and good coding practices. By the end, learners will be able to write clear C programs, debug effectively, and build the knowledge base needed for more advanced computer science and software development.
Welcome to C for Everyone, Part 1! This course will guide you step by step from basic syntax and data types to control flow, functions, recursion, arrays, and pointers, giving you the skills to write clear, well-structured C programs. In this module, youβll learn the basics of the C language, explore its history, and write your first programs. Youβll practice compiling, debugging, and formatting code, then complete a first set of programming activities.
What's included
9 videos1 reading2 assignments
9 videosβ’Total 68 minutes
- π₯ Overviewβ’5 minutes
- π₯ History of Cβ’2 minutes
- π₯ Compiling, debugging, and running a program, part 1β’8 minutes
- π₯ Compiling, debugging, and running a program, part 2 (File included in Downloads)β’13 minutes
- π₯ First programβ’7 minutes
- π₯ Example: Circle codeβ’7 minutes
- π₯ Example: Marathonβ’9 minutes
- π₯ Simple input/output: Fahrenheitβ’7 minutes
- π₯ Simple input/output: Milesβ’10 minutes
1 readingβ’Total 10 minutes
- π Accessing supplemental course materials β’10 minutes
2 assignmentsβ’Total 60 minutes
- β Fix Dr. Pβs mistake (Module 1)β’30 minutes
- β Print a poemβ’30 minutes
In this module, youβll dive deeper into the structure of C programs by exploring lexical elements, data types, and expressions. Youβll learn how to use operators, declarations, and fundamental types like int, char, and float, and understand how expressions are evaluated. Youβll build confidence in writing clear, well-structured C programs and apply these skills in programming tasks.
What's included
12 videos1 reading4 assignments
12 videosβ’Total 102 minutes
- π₯ Character sets and tokensβ’6 minutes
- π₯ Commentsβ’5 minutes
- π₯ Keywordsβ’8 minutes
- π₯ Identifiersβ’11 minutes
- π₯ Operatorsβ’9 minutes
- π₯ Expressions and precedence (File included in Downloads)β’8 minutes
- π₯ Expression and evaluationβ’9 minutes
- π₯ Declarationsβ’6 minutes
- π₯ Fundamental types and sizeofβ’10 minutes
- π₯ The char type (File included in Downloads)β’8 minutes
- π₯ The int typeβ’10 minutes
- π₯ The integer and floating point types (Files included in Downloads)β’11 minutes
1 readingβ’Total 10 minutes
- π Problems from Chapter 1 of "A Book on C"β’10 minutes
4 assignmentsβ’Total 60 minutes
- β Fix Dr. Pβs mistake (Module 2)β’30 minutes
- βοΈ int quizβ’0 minutes
- βοΈ Expressions quizβ’0 minutes
- βWrite a program that prints the sine function for an input x between (0, 1)β’30 minutes
In this module, youβll learn how C programs make decisions and repeat actions through conditional and iterative statements. Youβll explore if, while, and for statements, understand how logical and relational operators control program flow, and discover why goto should be avoided. Youβll also write simple functions, applying these concepts in hands-on coding activities.
What's included
10 videos1 reading6 assignments
10 videosβ’Total 62 minutes
- π₯ Logical operators, expressions, and short-circuit evaluationβ’7 minutes
- π₯ The conditional statement if and if-elseβ’7 minutes
- π₯ The iterative statement whileβ’7 minutes
- π₯ While-cnt-char-explainedβ’6 minutes
- π₯ While-code exampleβ’5 minutes
- π₯ The for statement and its while analogβ’8 minutes
- π₯ For statement code exampleβ’7 minutes
- π₯ Oddball operators-conditional and commaβ’7 minutes
- π₯ Ternary-operator code exampleβ’4 minutes
- π₯ Break and continue and switch (File included in Downloads)β’4 minutes
1 readingβ’Total 10 minutes
- π Problem 23 from Chapter 2 of "A Book on C"β’10 minutes
6 assignmentsβ’Total 60 minutes
- βοΈ Logic operators quizβ’0 minutes
- βοΈ While loop questionsβ’0 minutes
- βοΈ Switch questionsβ’0 minutes
- β Fix D. P's mistake (week 3)β’30 minutes
- βοΈ Cond-comma-ops quizβ’0 minutes
- β Write a function that prints a table of values for sine and cosine between (0, 1)β’30 minutes
In this module, youβll expand your understanding of functions by exploring prototypes, return statements, and variable scope. Youβll also learn how recursion works through classic examples like factorials and Fibonacci sequences. Finally, youβll be introduced to arrays and pointers, two of the most powerful features in C.
What's included
11 videos
11 videosβ’Total 66 minutes
- π₯ Function definitionβ’6 minutes
- π₯ Function code exampleβ’5 minutes
- π₯ Return statementβ’4 minutes
- π₯ Function prototypeβ’4 minutes
- π₯ Function Prototype: code exampleβ’5 minutes
- π₯ Function variables with call-by-value explainedβ’8 minutes
- π₯ Function definitions and scope rulesβ’6 minutes
- π₯ Storage class code exampleβ’7 minutes
- π₯ Simple recursionβ’5 minutes
- π₯ Recursion- factorial codeβ’6 minutes
- π₯ Recursion Fibonacci code (File included in Downloads)β’9 minutes
In this module, youβll deepen your understanding of how data is stored and accessed in C. Youβll learn to manipulate arrays, simulate call-by-reference, and apply sorting algorithms like bubble sort and merge sort. By the end, youβll be able to write efficient programs that handle data collections and memory references.
What's included
11 videos1 assignment
11 videosβ’Total 85 minutes
- π₯ Pointers and simple arraysβ’7 minutes
- π₯ Initialize arraysβ’8 minutes
- π₯ Array-grade-code exampleβ’5 minutes
- π₯ What is a pointerβ’10 minutes
- π₯ Pointer code exampleβ’10 minutes
- π₯ Call-by-reference simulatedβ’7 minutes
- π₯ Array as a parameterβ’5 minutes
- π₯ Array-bubble-sort codeβ’14 minutes
- π₯ Merge sort overviewβ’7 minutes
- π₯ Merge code: Example 1β’6 minutes
- π₯ Merge code: Example 2 (File included in Downloads)β’8 minutes
1 assignmentβ’Total 30 minutes
- β Compute the average weight for a population of elephant seals read into an arrayβ’30 minutes
Congratulation! This is the end of the first part of the C for Everyone sequence. You will have an opportunity to assess your learning.
What's included
1 assignment
1 assignmentβ’Total 90 minutes
- βοΈ Final examβ’90 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Explore more from Software Development
- Status: Free TrialU
University of California, Santa Cruz
Course
- Status: Free TrialU
University of Michigan
Specialization
- Status: Free TrialU
University of California, Santa Cruz
Specialization
- Status: Free TrialD
Dartmouth College
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
68.16%
- 4 stars
21.13%
- 3 stars
5.42%
- 2 stars
1.85%
- 1 star
3.41%
Showing 3 of 6785
Reviewed on Mar 24, 2022
βThe course its a great opportunity to start into C programming but I hope the tutorials at week 4, 5 in particular like pointers, arrays being more clearly and competative! beside assignment!
Reviewed on May 27, 2020
I have learnt many topics in this course. This course had made me taste the flavour of C language and programming. The lectures which were given by Pohl sir were outstanding.
Reviewed on Oct 4, 2020
Such cool course and especially professor's explanations!!! Thank you so much, University of California, Santa Cruz. I really appreciate your work on this course; it helped me so much
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. 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.
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.
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.
More questions
Financial aid available,
ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.
