Knowledge baseExam Center
ENEnglish
Choose language13

Learn C — Basic

C programming fundamentals: statements, loops, functions, arrays and your first pointers.

COURSE OVERVIEWREADY
Lessons: 39
Quizzes: 7
All steps: 46
$Ready to start
Knowledge base for this technology

What you will learn

  • Use basic types, operators, conditional statements and loops in C.
  • Create and call functions, distinguish variable scope, and pass data through parameters.
  • Process arrays of numbers and characters, search data and calculate summaries.
  • Explain the basic use of pointers, structs, enum types, assertions and macros.

Course curriculum

Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.

39 lessons7 quizzes46 steps total
  1. 01LESSON
    LESSON 1: Displaying a greeting: Your first program in CAvailable now
  2. 02LESSON
    LESSON 2: Comments in codeLocked
  3. 03LESSON
    LESSON 3: Storing data in an array (C, one-dimensional array of numbers)Locked
  4. 04LESSON
    LESSON 4: Data types: int and floatLocked
  5. 05LESSON
    LESSON 5: A deterministic daily report in CLocked
  6. 06LESSON
    LESSON 6: Arithmetic operators (C)Locked
  7. 01QUIZ
    Quiz 1: lessons 1–6Locked
  8. 07LESSON
    LESSON 7: Conditional statements (if / else)Locked
  9. 08LESSON
    LESSON 8: Logical operators (AND, OR, NOT)Locked
  10. 09LESSON
    LESSON 9: The for loop: iterating over data (C)Locked
  11. 10LESSON
    LESSON 10: The switch statement: choosing an option and a simple menuLocked
  12. 11LESSON
    LESSON 11: Character Arrays (Strings) in CLocked
  13. 12LESSON
    LESSON 12: Text Normalization and ValidationLocked
  14. 02QUIZ
    Quiz 2: lessons 7–12Locked
  15. 13LESSON
    LESSON 13: Functions — BasicsLocked
  16. 14LESSON
    LESSON 14: Functions with a Return Value (C)Locked
  17. 15LESSON
    LESSON 15: Local and Global VariablesLocked
  18. 16LESSON
    LESSON 16: Pointers — the basicsLocked
  19. 17LESSON
    LESSON 17: Passing a pointer to a functionLocked
  20. 18LESSON
    LESSON 18: An array of pointers to stringsLocked
  21. 03QUIZ
    Quiz 3: lessons 13–18Locked
  22. 19LESSON
    LESSON 19: Nested conditions (nested if/else)Locked
  23. 20LESSON
    LESSON 20: The largest value in an arrayLocked
  24. 21LESSON
    LESSON 21: The sum of array elementsLocked
  25. 22LESSON
    LESSON 22: Arithmetic mean (C)Locked
  26. 23LESSON
    LESSON 23: Counting occurrences of a valueLocked
  27. 24LESSON
    LESSON 24: Replacing numbers in an arrayLocked
  28. 04QUIZ
    Quiz 4: lessons 19–24Locked
  29. 25LESSON
    LESSON 25: Finding the first occurrence (C)Locked
  30. 26LESSON
    LESSON 26: Simple array copying (C)Locked
  31. 27LESSON
    LESSON 27: A function returning the minimum of an arrayLocked
  32. 28LESSON
    LESSON 28: Constants (const) — defining and using constants in CLocked
  33. 29LESSON
    LESSON 29: Compound assignment operatorsLocked
  34. 05QUIZ
    Quiz 5: lessons 25–29Locked
  35. 30LESSON
    LESSON 30: Comparison operators (==, <)Locked
  36. 31LESSON
    LESSON 31: The while loop: repeat as long as the condition is trueLocked
  37. 32LESSON
    LESSON 32: The do…while loop — ensuring that a piece of code runs at least onceLocked
  38. 33LESSON
    LESSON 33: Skipping and breaking out of a loop iterationLocked
  39. 34LESSON
    LESSON 34: Searching and updating tasks in arraysLocked
  40. 06QUIZ
    Quiz 6: lessons 30–34Locked
  41. 35LESSON
    LESSON 35: Multidimensional arrays (matrices) — a weekly report in CLocked
  42. 36LESSON
    LESSON 36: Structures (struct) – the basicsLocked
  43. 37LESSON
    LESSON 37: Enumeration types (enum)Locked
  44. 38LESSON
    LESSON 38: Simple error handling in C: assertLocked
  45. 39LESSON
    LESSON 39: Preprocessor macros: #defineLocked
  46. 07QUIZ
    Quiz 7: lessons 35–39Locked
  47. +EXAM
    Confirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status