wisepeter.hashnode.dev·Jul 21, 2023 · 4 min readVariadic Functions in C: Unleashing the Full Potential of Your CodeFor those starting out in C, you will have discovered that most functions have a fixed number of arguments, limiting their flexibility. For instance, consider this simple example: int sum(int a, int b) { return (a + b); } This function takes exa...00
wisepeter.hashnode.dev·Jul 5, 2023 · 6 min readIntroduction to Structs in C: Managing Complex Data StructuresThe C language allows us to build custom data structures to better manage our data. While arrays are very useful and convenient, they have shortfalls that limit their usage. An array can only store a collection of identical objects; however, real-wor...00