C Programming

latest

A screenshot of an IDE displaying C code.
An Essential Guide to Pointers in C Programming

Pointers are vital to many C programs, but they can be difficult to understand. Review their syntax and how they work with practical examples.

C programming language
An Introduction to C Functions

Every C program is a collection of functions. Find out all about these useful reusable chunks of code, from how to define them to what void means.

c vs c++
The 10 Core Differences Between C and C++

C and C++ might seem similar, but they have various differences. Let's find them out.

Someone coding an embedded system with ISR programming
What Is ISR Programming? How Interrupts Help You Write Better Code

Learn how ISR programming can prove to be useful.

Montage of images representing programming languages
What's the Best Language for Microcontrollers: MicroPython, CircuitPython, Arduino, or C?

Which programming language should you use for your microcontroller projects? Let's explore the four best options.

Mathmatical illustrations on Blackboard
How to Write a C Program to Multiply Two Matrices

Hone your math skills with this fundamental algorithm.

Laptop screen displaying code
How to Find an Armstrong Number

The Armstrong number algorithm is straightforward, but you can use it for many other math tasks.

C Programming Console
How to Implement Binary Search Using Iterative Method

Binary Search algorithm follows the divide-and-conquer paradigm. Learn how to search elements in a sorted array using the space efficient method.

Person typing at a laptop on a desk
How to Calculate the Factorial of a Number

It's easy to manually compute a factorial, but how do you do so programatically, in the cleanest way possible?

Close-up of computer code
Linux 6.0 Lands While Linus Teases Major Change in Next Version

The new version boosts support for Intel, AMD, and Qualcomm chips, but people are talking about the upcoming inclusion of Rust code.

Five people in a grassy field collecting garbage in bin bags
How Does a Garbage Collector Work?

Many modern languages feature a garbage collector to help keep your memory clean. But how does it work and can it really fix memory problems for you?

daemon running inside a Linux terminal
How to Create a Daemon on Linux

Daemons are processes that silently run in the background on your machine. Here's how you can code your own daemons on Linux.

man thinking and using laptop
11 C++ Code Snippets for Everyday Programming Problems

If you're new to C++, these code snippets that programmers use every day can come in handy.

c programming language
A Brief Introduction to the C Programming Language

Heard of C before but ready to learn more? We'll catch you up on the basic syntax, features, and more.

A c logo alongside a Python logo
C vs. Python: The Key Differences

Python and C are both popular programming languages, but they could hardly be more different. Discover what each is like and how best to use them.

Photo of a person coding on their computer
8 Popular Web Development Tools Used by Professionals

Automate processes easily with these incredible web development tools.

Programmer at desk with laptops and monitor
How to Install a C Compiler on Linux

Get started with C programming by installing an open-source C compiler on your Linux machine.

Several dominoes showing different combinations of points
How to Calculate the Value of nCr

Learn how to calculate a Combination in five programming languages. You'll get to know this particular formula and how it compares across languages.

chalked number grid on ground
How to Find the Largest and Smallest Digits of a Number With Programming

Know your values from top to bottom—learn to identify the largest and smallest digits in a number with Python, JavaScript, and more.

Laptop on Desk Showing Code
File Handling in C: A Beginner's Guide

Learning to read, write, and append data in C is an integral skill when mastering the language. Here's how.

See More