Blog

Understanding Strict-Aliasing Rules

The strict-aliasing rules allow the compiler to assume that your code does not alias between incompatible types. In this way, the compile...

C-Christmas tree

It's Christmas time 🎄 and what could be nicer than programming a Christmas tree in C with lights that fade in and out?. Or just talk abou...

How To Cast The Result Of malloc

A question that often arises when allocating a new block of memory in C is: should I cast the result of malloc or not?

The Meaning Of argc And argv In main()

The input parameters argc and argv are used to send arguments to a program. The program receives arguments thanks to argv, which is a poi...