One day while I was using PVS Studio Static Analyzer it suggested that I have an opportunity to apply ‘struct-packing’ that can save space. After some googling and reading I was astonished to the fact that I never knew of this!
[Read More]
Stringizing(#) and Token Pasting(##) Operator
If you never heard of any of these operators don’t be surprised, not many people knows about it. Let’s see what are these.
[Read More]
Void Pointer in C
One of the frequent questions I come across every now and then is, when do I use a void pointer? or what are some practical examples of void pointer?
[Read More]
Dynamic Interface Models
For Embedded C
Let’s say you are designing a home automation system. One part of that is LightScheduler. During development the requirement said to support one technology. Now, the product manager and hardware designers have refined some of the requirements. The system must be able to handle different light controlling technologies in one...
[Read More]
Abstract Data Type in C
Barbara Liskov, an American computer scientist, defines ADTs as follows:
[Read More]