Basic Constructs¶
In this chapter, we’ll look at the most basic and simple constructs that are part of nearly all imperative/OOP languages out there.
Contents:
- Global Variables
- Local Variables
- Constants
- Structures
- Casts
- Bitwise Casts
- Zero-Extending Casts (Unsigned Upcasts)
- Sign-Extending Casts (Signed Upcasts)
- Truncating Casts (Signed and Unsigned Downcasts)
- Floating-Point Extending Casts (Float Upcasts)
- Floating-Point Truncating Casts (Float Downcasts)
- Pointer-to-Integer Casts
- Integer-to-Pointer Casts
- Address-Space Casts (Pointer Casts)
- Function Definitions and Declarations
- Unions