Skip to content
Home » c programming » Page 4

c programming

Static and Dynamic Library Files in C featured image with dark blue background, C FOUNDATIONS badge, .a .so icon in teal circle, and Building .a and .so Libraries subtitle by nerdyelectronics.com

Using Static and Dynamic Library Files in C

Learn how to create and use static libraries (.a) and dynamic shared libraries (.so/.dll) in C. Covers compilation steps, linking, runtime loading with dlopen, and when to use each type in embedded systems.

Dynamic Memory Allocation in C featured image with dark blue background, C FOUNDATIONS badge, curly braces icon in teal circle, and malloc calloc realloc and free subtitle by nerdyelectronics.com

Dynamic Memory Allocation in C

Learn how to use malloc, calloc, realloc, and free in C for dynamic memory allocation. Understand stack vs heap, common pitfalls like memory leaks and dangling pointers, and best practices for embedded systems.

Separate Header Files in C featured image with dark blue background, C FOUNDATIONS badge, .h .c icon in teal circle, and Code Organization and Best Practices subtitle by nerdyelectronics.com

Separate Header Files in C

Learn how to organize your C code into separate header (.h) and source (.c) files. Covers include guards, module patterns, and best practices for embedded systems projects.