Advanced Programming Techniques in C

Gain insights into pointers, arrays, strings, and structures in C. Explore function pointers and bitwise operations. Discover recursion, memory allocation, and effective debugging techniques.

Intermediate

146 Lessons

10h

Certificate of Completion

Gain insights into pointers, arrays, strings, and structures in C. Explore function pointers and bitwise operations. Discover recursion, memory allocation, and effective debugging techniques.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

179 Playgrounds
15 Challenges
26 Quizzes

This course includes

179 Playgrounds
15 Challenges
26 Quizzes

Course Overview

In this course, you will learn advanced programming techniques in C. This course is perfect for you if you have prior knowledge of programming concepts, like data types, variables, loops, conditional statements, and functions in C. You will start by covering the most common secondary data types including: pointers, arrays, strings, structures, and enums. You will then learn some more advanced concepts around functions such as function pointers, typecasting, bitwise operators, and bit fields. In the latter...Show More

Course Content

1.

Introduction

Get familiar with advanced C concepts, including pointers, functions, and Linux programming.
2.

Pointers

Unpack the core of pointers, memory addresses, pointer operators, and multi-level indirection.
3.

Arrays

Examine array concepts, initialization, memory allocation, bounds, and element manipulation in C.
4.

Strings

Enhance your skills in string manipulation, including traversal, handling multi-word inputs, and converting strings to integers.
5.

String Functions

Dig into C string functions, from library utilities to custom implementations and challenges.
6.

Structures

15 Lessons

Manage data efficiently using C structures, focusing on memory alignment, functionality, and complex data handling.
7.

Union

6 Lessons

Master the steps to efficiently use unions in C for memory management and data handling.
8.

Enumerations

4 Lessons

Learn how to use enums for efficient, readable, and organized data management in C programming.
9.

Function Pointers

5 Lessons

Unpack the core of calling functions via addresses, using `qsort()`, and array-based function pointers in C.
10.

Variable Argument Lists

5 Lessons

Work your way through harnessing variable argument lists for flexible function calls.
11.

Working With Bits

18 Lessons

Grasp the fundamentals of bit manipulation in C for efficient programming and conversion tasks.
12.

Recursion

11 Lessons

Explore recursion forms, mathematical sum, factorial calculations, applications, and recursive challenges solutions.
13.

Classical Recursive Problems

4 Lessons

Focus on solving recursive problems like Towers of Hanoi and Beckett's Problem.
14.

Static and Dynamic Memory Allocation

8 Lessons

Master the steps to static and dynamic memory allocation in C, including practical implementation.
15.

Type casting and Typedef

5 Lessons

Break down type casting, typedef, variable length structures, and malloc() usage in C.
16.

C Under Linux

8 Lessons

Discover the logic behind using C in Linux, focusing on processes, forking, signals.
17.

Command Line Arguments

3 Lessons

Break apart command line argument usage and handling in C programming for various operations.
18.

Creating Libraries

7 Lessons

Find out about creating and using static and dynamic libraries in C.
19.

Debugging C Programs

8 Lessons

Take a closer look at debugging C programs using gdb, traditional testing, and unit testing.

Write a Shell in C

Project

20.

Conclusion

1 Lesson

Investigate advancing C skills with further courses and hands-on practice in C++.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor