Practical solutions

C Howtos How-To Guides

Solve the problem. Keep building. Collection of C how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

Array of Strings in CThis article introduces how to declare array of strings in C Excess Elements in Scalar Initializer Warning in CThis is a guide on resolving the warning message excess elements in scalar initializer in C. ** in CThis tutorial teaches how to use pointer to pointer to store the address of the pointer in C. Difference Between Struct and Typedef Struct in CThis tutorial educates about the difference between struct and typedef struct in C. This also highlights some key points to remember while using the typedef keyword. The Volatile Qualifier in CThis article talks about the volatile qualifier in C programming. It also shows when and how to use this in a C program. Bitwise Operations in CThis article demonstrates the use of bitwise operations in C, and includes a notation of a commonly misunderstood shorthand notation for using these bitwise operations. End of File (EOF) in CThe topic of expressing EOF in C will be the focus of this article. Dereferencing Pointer to Incomplete Type Error in CThis article explains concepts like referencing and dereferencing of pointers, what are incomplete types, and how they can be completed, solving the error of dereferencing to incomplete types, and understanding different errors that arise with different compilers. A Label Can Only Be Part of a Statement and a Declaration Is Not a StatementThis article explains the A Label Can Only Be Part of a Statement and a Declaration Is Not a Statement error because of the C language standards that a declaration cannot immediately follow a label. We resolved this by adding a semi-colon at the end of a label or adding a pair of curly braces around the case block in switch statements. Integer Division in CThis article demonstrates the behavior of integer division in C. State Machine in CThis article demonstrates the state machine and its working in C programming language. Multiple Pipes in CThis article demonstrates the implementation of multiple pipes in C. C Segmentation FaultTrivial guide to understanding the segmentation fault in C. The restrict Keyword in CA brief discussion on the restrict keyword in C. Infinity in CA comprehensive guide about infinity in C. Bit Field in CIn this tutorial, we will learn about the bit field in C. We will start the discussion with the bit field, then the bit field storage, followed by the syntax of the bit field in C language. Lastly, we will see a bit field with different data types. C Compiler for WindowsAn article about different C compilers for Windows platform.